The SNP’s leader at Westminster has been elected as Nicola Sturgeon’s deputy.
Angus Robertson secured the backing of the Nationalist members to become the party’s deputy leader at its conference in Glasgow.
The Moray MP won the contest in the first round with 52.5% of the vote.
The position was left vacant by the resignation of Stewart Hosie, the Dundee East MP, who quit following revelations about his private life.
Mr Robertson, who has sat in Westminster since 2001, is seen as a safe pair of hands.
As the leader of the party’s 54 MPs, he has impressed at Prime Minister’s Questions, when Labour leader Jeremy Corbyn has faced criticism for lacklustre performances.
His closest rival Tommy Sheppard, the Edinburgh East MP, was backed by 25.53% of members.
Mr Robertson said his election to the post made “perfect sense” in that with Nicola Sturgeon the leadership now fights for Scotland in Holyrood and Westminster, and represents both urban and rural constituencies.
He said the job now was to “reach out” to No voters and convince them to back independence.
But Mr Robertson also acknowledged calls from Mr Sheppard, the former comedy club manager who was seen as the grassroots’ candidate, for reform of the party structure.
Mr Robertson said there is “much that can be delivered” on party reform.
The former BBC correspondent said: “This depute leadership election has been about who can best work as a team with SNP leader Nicola Sturgeon, involve grassroots members, councillors and parliamentarians into the most effective force to deliver independence for Scotland.
“It is a huge honour to have been elected by the members of the SNP to serve as the Depute Leader and bring that vision to life.”
Alyn Smith MEP took 18.6% of the vote and Inverclyde councillor Chris McElney was backed by 3.38% of members.