Mark Drakeford has been confirmed as the new First Minister after a vote in the Welsh Assembly.
He was confirmed as the Welsh Labour leader last week and succeeds Carwyn Jones, who resigned yesterday.
Mr Drakeford received 30 votes, the Conservatives' Paul Davies got 12, while Plaid Cymru's Adam Price got nine.
Addressing AM's in the Senedd, the new First Minister described Brexit as a "burning platform" and said he hoped to act as a "beacon of hope".
Mr Drakeford said it was "an enormous privilege" to be leading the Welsh Labour party and to be elected as First Minister, as he renewed calls for a "kinder sort of politics".
The Queen is expected to endorse his appointment within the next 24 hours.