McCarthy, who now becomes second in line for the presidency, clinched victory following the longest speakership election in 160 years as the establishment Republicans took 15 rounds of voting over a span of four days to fend off a right-wing, anti-McCarthy rebellion.