The Republican-led US Senate has approved a resolution seeking to end support for the Saudi Arabia-led coalition in the war in Yemen, in a rebuke of Donald Trump’s policy towards the kingdom.

The vote was 54-46 in the Senate, more than the 51 needed to pass in the 100-member Senate, as seven Republicans joined Democrats in backing the measure. The war powers resolution seeks to end any US military involvement in the conflict, including providing targeting support for Saudi air strikes, without authorisation from Congress.

The four-year-long civil war in Yemen, which pits the Saudi-led coalition against Houthi rebels backed by Iran, has killed tens of thousands of people and spawned what the United Nations calls the world’s most dire humanitarian crisis, with the country on the brink of famine.

Backers of the resolution, including a handful of Mr Trump’s fellow Republicans as well as Democrats, argued that US involvement in Yemen violates the constitutional requirement that Congress, not the president, should determine when the country goes to war.

“We’re helping a foreign power bomb its adversaries in what is undoubtedly, irrefutably, a war,” said Republican Senator Mike Lee, who sponsored the resolution, urging a "yes" vote.

Food aid for Yemenis stolen Show all 21 1 /21 Food aid for Yemenis stolen Food aid for Yemenis stolen People walk in a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen People stand near their rooms inside a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A baby sleeps inside a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (Photo/Nariman El-Mofty) Food aid for Yemenis stolen A woman sits with her baby inside a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen Sisters play in their room at a shelter for displaced persons in Ibb, Yemen in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen The entrance of the hangar of the United Nations in Aden, Yemen, in this 23 July 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A man sells aid supplies at a market in Aden, Yemen, in this 23 July 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen The entrance to the port where aid is received, in Aden, Yemen, is shown in this 23 July 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen This 24 July 2018 photo shows a gas station on a road in Shabwah, Yemen. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A worn-out list of registered names for aid by Relief International, part of the World Food Program, is posted in Aden, Yemen in this 23 July 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A truck carries aid on a road in Aden, Yemen, in this 23 July 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A man fixes his scarf at a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen Children play in a room at a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen Children look out of their room at a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A woman holds her baby as she leaves her room in a shelter for displaced persons in Ibb, Yemen in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A family poses for a photograph in their room at a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A family sits in their room at a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A bucket filled with bread at a shelter for displaced persons in Ibb, Yemen, is shown in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A family poses for a photograph in a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A child stands in a room at a shelter for displaced persons in Ibb, Yemen, in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty) Food aid for Yemenis stolen A shelter for displaced persons in Ibb, Yemen, is shown in this 3 Aug 2018 photo. (AP Photo/Nariman El-Mofty)

The Yemen vote could be only the first of two major setbacks for Mr Trump this week, as senators are due to vote tomorrow on a resolution disapproving of his use of his emergency powers to pay for a wall on the border with Mexico, even though Congress has not approved it.

The resolution must still be approved by the House of Representatives to be sent to the White House, which said earlier that Mr Trump plans a veto. It would be the first of his two-year-long presidency.

Democrats and Republicans reintroduced the resolution two weeks ago as a way to send a strong message to Riyadh – and to Mr Trump – about the humanitarian disaster in Yemen. Many legislators also want to push the president to demand a stronger response from the Saudi government to the murder of Saudi journalist Jamal Khashoggi at a Saudi consulate in Turkey in October.

Yemeni mother Shaima Swileh arrives at San Francisco International Airport to see dying son for last time

Mr Trump has held back on criticising Saudi Arabia, calling them an important strategic ally and counterbalance to Iran in the region. He has also touted Saudi purchases of US defence equipment as a generator of American jobs.

Resolution opponents argued that support for the Saudi-led coalition is not an appropriate use of the war powers act limiting the president’s ability to send troops into action, because US forces are not actively engaged in fighting.

Some also contended that stopping US support would help Iran, and potentially prolong the conflict by ending Washington’s ability to influence Saudi Arabia and the United Arab Emirates, a partner in the conflict, to pursue a sustainable political settlement.

“We need to stay engaged with the limited engagement that we have,” said Senator Jim Risch, the Republican chairman of the Foreign Relations Committee. He also said the resolution “sets a bad precedent” because the United States is not directly involved in Yemen.

The Senate had approved the war powers resolution in December, during the last Congress, the first time such a measure had passed the chamber. But Republicans, who controlled the House until January, did not let it come up for a vote.

With the Democrats in control, the House passed its own version of the resolution in February, but a procedural issue meant the House must vote on the Senate’s version of the measure.

Overcoming a veto would require two-thirds majorities in both the Senate and House, more votes than it has garnered so far.