President Donald Trump said Tuesday that the United States will stop providing military aid to Israel by the end of 2026, saying he and Prime Minister Benjamin Netanyahu agreed on the move months ago, according to The Times of Israel and The Jerusalem Post.

Trump made the remarks on the morning of the U.S. midterm elections, in a phone interview with Fox News' "Fox & Friends."

"We give Israel $4 billion a year. We made a deal months ago that we're stopping," Trump said.. "They're fine with it because they've become a very successful country. They don't need it."

"By the end of this year, we won't be paying Israel," he said, adding, "We'll help Israel if they need it. They've been a great ally, and we've been the greatest of all allies."

Trump said Netanyahu raised the idea himself. "He brought it up. He brought it up," Trump said. Asked whether Israel could still buy American weapons, he answered, "Oh yeah, they can buy whatever they want."

Under the current 10-year memorandum of understanding (MOU), signed in 2016, Israel receives $3.8 billion a year: $3.3 billion in Foreign Military Financing and $500 million for missile defense, a total of $38 billion through 2028. Trump rounded the figure to $4 billion. Most of the funds must be spent on American-made weapons.

Netanyahu has spoken publicly about ending U.S. military aid, but over about a decade, not all at once. "I want to taper off American support for Israel to zero," he told "60 Minutes" in May.

Israeli officials said they were surprised by the timing. A Finance Ministry official told Walla, "No formal document was submitted from the Prime Minister's Office regarding the end of aid," and "The ministry was aware of the intention to end it, but was surprised by the intention to do so immediately."

A senior financial official told Ynet, "Giving up two years of aid is $8 billion. Where will we get this?" A senior defense official told Kan, "We did not expect this announcement, certainly not today."

Yashar chairman Gadi Eisenkot called on Netanyahu to explain. "Netanyahu must provide answers to Israeli citizens, tonight," he said. The Prime Minister's Office was expected to respond.

Independently written by the BJL Newsroom based on reporting from The Times of Israel, The Jerusalem Post and WMAR-2 News.