Iranian leaders cast Republican losses in the U.S. midterm elections as a rejection of President Donald Trump’s war policy on Wednesday, even as diplomacy continued under the threat of further American attacks. Al Jazeera reported that analysts saw pressure for an agreement growing, but warned that the election would not necessarily restrain Trump militarily.

Democrats won both chambers of Congress in Tuesday’s vote, according to Associated Press reporting carried by PBS NewsHour. AP said concerns about the war and higher fuel and consumer prices helped drive the result. Iranian parliament Speaker Mohammad Bagher Ghalibaf portrayed the vote as an antiwar message and warned Washington against disregarding it.

Tehran’s celebration did not signal a softer negotiating position. Hamidreza Azizi, a senior Iran analyst at the International Crisis Group, told Al Jazeera that Iranian leaders’ sense of victory could harden their demands over the Strait of Hormuz and make nuclear concessions less likely. A statement attributed to Supreme Leader Mojtaba Khamenei also rejected the idea that changes in American party politics would end U.S. hostility.

The conflict began with U.S. and Israeli attacks on February 28. AP reported that confrontations have continued in southern Iran and around the strait despite ceasefire agreements. Iran has restricted shipping to pressure Washington to lift its blockade on Iranian ports, leaving a critical energy route at the center of the dispute.

Sanam Vakil, who directs Chatham House’s Middle East and North Africa Programme, told Al Jazeera that a limited arrangement covering the strait and lifting the blockade appeared more attainable than a comprehensive settlement. She expected diplomacy and military threats to continue in parallel. Stimson Center fellow Barbara Slavin likewise cautioned that Trump retained substantial military authority, particularly before the incoming Congress takes office.