The U.S. House voted Thursday, April 4 to end military support for the Saudi-led war in Yemen, dealing a bipartisan rebuke to Donald Trump and taking the historic step of curtailing a president’s war-making powers.

The House of Representatives voted 247 to 175, with one congressman voting present, to approve a resolution that directs the president “to remove United States Armed Forces from hostilities in or affecting the Republic of Yemen” within 30 days.

The text, which passed the Senate last month, now heads to Trump, who is expected to veto the legislation. The White House called the measure “flawed” and warned it would harm bilateral relations in the region, including with Saudi Arabia.

With reporting from AFP