WASHINGTON — Sen. Ted Cruz asserts that Rep. Beto O’Rourke has “the most anti-Israel record of any Senate Democratic candidate.” To back up the claim, he points to one particular vote against funding for Iron Dome, a defense system that lets Israel knock down rockets raining down from Gaza and elsewhere.

The allegation may surface in Tuesday night’s debate in San Antonio, devoted in part to foreign policy.

But Cruz’s allegation is oversimplified.

O’Rourke has voted to fund Iron Dome numerous times, but opposed funding one particular time. And the senator has voted four times himself against larger measures that provided funds for Iron Dome.

In May, Iran fired 20 rockets into the Golan Heights that were intercepted by Iron Dome. Cruz pounced.

“Beto O’Rourke was only one of only eight Members of Congress to vote against crucial funding for Israel’s Iron Dome defense system, joining the ranks of Nation of Islam supporter Rep. Keith Ellison and liberal Rep. Zoe Lofgren,” the campaign said in a prepared statement.

Cruz routinely repeats the allegation at campaign events. “Nancy Pelosi voted yes. Maxine Waters voted yes. Beto O’Rourke voted no,” he said at one recent appearance.

He’s referring to a vote on Aug. 1, 2014, when the House approved $225 million to replenish Iron Dome funding on 395-8 vote, a week after the Senate gave its approval.

"There was no backup material, no information, no discussion and no debate. Just five minutes to cast your vote," O'Rourke said at an event in El Paso days after the vote. "Is it really right to send that much money without having a discussion? My decision was that it was not."

Although O’Rourke opposed that batch of Iron Dome funding, he supported funding many other times.

On June 20, 2014, he voted for the National Defense Appropriations Act that included $670 million for missile defense programs for Israel, including $351 million for Iron Dome. Six days earlier, he had supported an amendment to add $15 million to improve Iron Dome.

The August 2014 vote was the first time O’Rourke did not support spending on Iron Dome. In May 2016, he voted against a budget bill that included Iron Dome funding. He was on the losing side of a 277-147 vote.

In June 2013, the House voted 315-108 for a defense spending bill that included over $235 million for Iron Dome. O’Rourke supported that bill.

But when the Senate took up the measure, Cruz voted against it. That bill sailed through the Senate on an 84-15 vote in December 2013, which Cruz voted against.

In 2013, Cruz supported Sen. Rand Paul’s budget resolution, which would have slashed defense funding, including aid to Iron Dome.

During the 2016 presidential campaign, Sen. Marco Rubio attacked Cruz over that stance.

As Rubio noted in the Dec. 15, 2015, GOP presidential debate, Cruz voted against the National Defense Authorization Act three times. Each version included Iron Dome funding.

Cruz’s explanation, at the time of those votes and in the heat of the presidential race, was that he was casting protest votes.

“I told voters in Texas that I would oppose the federal government having the authority to detain U.S. citizens permanently with no due process," Cruz said, and those bills left the policy in place.

From 2014 to 2017, Cruz voted against the defense budgets four years in a row, earning him the ire of the late Sen. John McCain, who chaired the Senate Armed Services Committee.

Cruz voted for the defense appropriations bills for fiscal years 2018 and 2019.

Here is a look at funding for Iron Dome through Defense Appropriations bills since Cruz and O’Rourke have been in Washington: