Kevin McCarthy has been elected Speaker of the US House of Representatives after heated exchanges which almost saw fellow Republicans come to blows.
It took 15 rounds of voting for Mr McCarthy to win the job, despite his party having a majority in the chamber.
It came after a dramatic pressure campaign played out live on the House floor as party rebel Matt Gaetz was urged to vote for Mr McCarthy.
The Florida Congressman was among six holdouts who relented late on Friday.
Earlier, amid heated scenes in the chamber, Mr Gaetz had almost come to blows with Rep Mike Rogers – a supporter of Mr McCarthy. The Alabama congressman had to be physically restrained by colleagues as he bellowed and jabbed his finger at Mr Gaetz.
The speaker sets the House agenda and oversees legislative business. The post is second in line to the presidency after the US vice-president.
Speaking after his confirmation, Mr McCarthy wrote on Twitter: “I hope one thing is clear after this week: I will never give up. And I will never give up for you, the American people.”
Mr McCarthy told reporters that former President Trump had helped him get the final votes: “I don’t think anybody should doubt his influence”.
“He was with me from the beginning… he would call me and he would call others,” he said.
US President Joe Biden congratulated Mr McCarthy for his win and said he looked forward to co-operating with the Republican Party.
“The American people expect their leaders to govern in a way that puts their needs above all else, and that is what we need to do now,” he said.
Republicans have already pledged to launch investigations into Mr Biden’s family business dealings and administration.
In a remarkable turnaround in the 12th round of voting, Mr McCarthy was able to persuade 14 Republican holdouts to cast their vote for him. A 15th rebel followed suit for the 13th ballot.
After the 13th ballot was adjourned, Mr McCarthy insisted to reporters that he would “have the votes” to take the speakership on the next round.
But the California congressman was still three votes short of the 217 he needed to take the prized gavel, and in chaotic and dramatic scenes, he again failed to win on the 14th ballot.
The dissidents included members of the House Freedom Caucus, who argue that Mr McCarthy is not conservative enough to lead them as they work to try to oppose Democratic President Joe Biden’s agenda.
Mr McCarthy has offered various concessions to the rebels, including a seat on the influential rules committee, which sets the terms for debate on legislation in the chamber.
He also agreed to lower the threshold for triggering a vote on whether to unseat the Speaker, to only one House member, leading to the possibility that the Republican coalition could easily fracture again even after Mr McCarthy’s victory. (BBC News)