Israeli Prime Minister Benjamin Netanyahu on Saturday backed President Trump Donald John TrumpHR McMaster says president's policy to withdraw troops from Afghanistan is 'unwise' Cast of 'Parks and Rec' reunite for virtual town hall to address Wisconsin voters Biden says Trump should step down over coronavirus response MORE’s plans to build a wall on the U.S.-Mexico border.

“President Trump is right. I built a wall along Israel's southern border. It stopped all illegal immigration. Great success. Great idea,” Netanyahu wrote on Twitter, including the Israeli and American flag emojis.

President Trump is right. I built a wall along Israel's southern border. It stopped all illegal immigration. Great success. Great idea — Benjamin Netanyahu (@netanyahu) January 28, 2017

Trump signed an executive order Wednesday ordering federal agencies to start building the border wall.

ADVERTISEMENT

Trump's vow to construct the wall on America’s border with Mexico, and force Mexico to pay for it, was the central promise of his presidential campaign.

In an interview earlier this week with Fox News’s Sean Hannity, Trump used Israel’s wall as a point of reference as he advocated for his wall plan.

“Look, the wall is necessary. That's not just politics, and yet it is good for the heart of the nation in a certain way because people want protection. And a wall protects. All you have to do is ask Israel,” Trump said. “They were having a total disaster coming across, and they had a wall. It's 99.9 percent stoppage.”

Israel built a wall along its border with Egypt in an effort to keep migrants from Africa out of the country.