WASHINGTON (AP) — The House for the first time Wednesday approved a war powers resolution that would halt the U.S. military action against Iran, defying President Donald Trump as a handful of Republicans joined with Democrats to end the three-month-long conflict that has reordered politics at home and abroad.

House Speaker Mike Johnson had tried to prevent an outcome that would show the mounting opposition to the war, abruptly shutting down floor action two weeks ago when the resolution was on the verge of approval. But displeasure has only grown as the conflict drags on and as Trump struggles to negotiate a plan for peace.