It’s possibly the most important job of any Israeli prime minister: maintain good relations with the United States while pushing back on demands seen as undermining Israel’s security.

No one has managed the balancing act longer than Prime Minister Benjamin Netanyahu, Israel’s longest-serving leader. But with the Iran war at a stalemate, and U.S. President Donald Trump looking to advance peace efforts elsewhere, Netanyahu’s task is getting harder less than three months away from Israeli elections.