Kate Forbes has returned to the Scottish government as deputy first minister.
The former finance secretary was appointed by new first minister John Swinney after opting not to run against him for the SNP leadership.
She will replace Shona Robison, who said she had offered to step down from the role but would be willing to take up another cabinet post.
Ms Forbes said she was "deeply honoured" to accept the position.
Mr Swinney is making cabinet appointments at his official residence, Bute House, after being sworn in at the Court of Session.
Ms Forbes, who has spent more than a year as a backbench MSP after stepping down from government in March 2023, had been promised a "significant" role in the government.
In a statement, Ms Robison said she had told Mr Swinney last week she believed stepping down in favour of Ms Forbes would help to bring the SNP together.
"I told you I believed this would strongly signal that for all of us in government, this is the best approach to showing we are united and ready to serve the people of Scotland," Ms Robison said.
"It is also in the best interests of your leadership and for the party; and both of us have always put public duty and the interests of the party over and above any self interest."
In her letter to the first minister, she added: "You have indicated you are keen I remain in government, and I have said I am committed to serve in cabinet in whatever role you see fit."
Mr Swinney, in a written response, said he was "deeply" appreciative of Ms Robison’s offer to "step aside from the role".
Several other cabinet members, including Health Secretary Neil Gray, Energy Secretary Mairi McAllan and Education Secretary Jenny Gilruth, have also been seen entering Bute House.
Further announcements are expected on Thursday afternoon.
The cabinet appointments will be formally approved in parliament on Thursday.
Ms Forbes returns to government after more than a year on the backbenches.
She quit government in March 2023 after narrowly losing out to Humza Yousaf in the SNP leadership contest and rejecting a demotion to a rural affairs minister.
The Skye, Lochaber and Badenoch MSP had enjoyed a rapid rise following her election to parliament in 2016, aged 26, becoming Scotland’s first female finance secretary in 2020.
After being named deputy first minister, Ms Forbes said: "This is a moment of extraordinary privilege for me. Having previously served in cabinet, I know the duty that all ministers have to reflect the government’s priorities and the missions that drive them."
Mr Swinney said Ms Forbes was an "immensely talented politician", adding "her new role will prove critical as we focus on our key commitments of eradicating child poverty, investing in public services and supporting economic growth".