Stephen Flynn was tonight named as the SNP's new Westminster leader after Ian Blackford stood down.
The 34-year-old MP for Aberdeen South since 2019 beat campaigning Alison Thewliss to the role in a behind-closed-doors vote of the party's 44 MPs in the UK Parliament.
He will replace Mr Blackford with immediate effect and appear at Prime Minister's Questions on Wednesday for the first time.
Paisley and Renfrewshire South MP Mhairi Black will become deputy leader, replacing Kirsten Oswald.
Mr Flynn said: "It's an honour to be elected to lead the SNP's strong and talented team of MPs during such a crucial period for Scotland.
"Under my leadership, SNP MPs will be relentlessly focused on standing up for Scotland's interests and our democratic right to decide our future in an independence referendum.
"Families across Scotland are paying a devastating price under Westminster control, with Brexit, austerity cuts and the Tory cost-of-living crisis hammering household budgets.
"SNP MPs will work harder than ever to hold the Tory Government to account, and make the case that independence is the essential route to safety, fairness and prosperity for Scotland."
Mr Blackford quit after more than five years to make way for "fresh leadership", amid reports of attempts to oust him. Only a week earlier, he had said he was "looked forward" to putting himself forward for re-election and he hoped to be "the MP which leads the SNP group out of Westminster for the last time".
Mr Flynn will now hold the leadership at a crucial time when Nicola Sturgeon is threatening to make the 2024 election a "de facto referendum" on independence.
The father-of-two studied at Dundee University, worked for former SNP MP Maureen Watt and was elected as a councillor in Aberdeen in his mid-20s.
He collapsed at school age 14 and was diagnosed with avascular necrosis, leading his bone tissue to "die" in his hip due to a lack of blood supply. He was unable to walk unaided for 17 years before surgery in 2020.