Pedro Sanchez has been sworn in as Spain’s prime minister after ousting Mariano Rajoy in a vote of no confidence.
The socialist came to power at a ceremony at the Zarzuela Palace on the outskirts of Madrid presided over by the country’s King Felipe VI.
On Friday, Mr Sanchez successfully persuaded Spanish MPs to back a move to remove the former head of government in the wake of a corruption scandal.
The no-confidence vote came after 29 former members of Mr Rajoy’s conservative Popular Party were convicted of corruption last week.
Although the parliament voted 180-169 on Friday to replace Mr Rajoy’s government with one led by Mr Sanchez, the Socialists have just 84 seats in the 350-seat parliament.
It will mean his minority government having to be propped up by a disparate group of parties with minority interests.
This will include including the far-left Podemos party, Basque nationalists and Catalan separatists.
The new Catalan government was also sworn in on Saturday.
Under the terms of its rule, Madrid is obliged to devolve power back to the Catalan government once it is fully constituted and its cabinet members named.
Mr Sanchez has already said he wants to “build bridges” with Catalonia’s new separatist government, headed by Quim Torra, but opposes an official independence referendum.
Mr Rajoy imposed direct rule on the region in October, following a unilateral referendum on independence which the Spanish government considered illegal.
Catalan pro-independence party Esquerra Republicana de Catalunya (ERC) member Joan Tarda said his decision to take part in the move to oust Mr Rajoy had been motivated by his views on the former PM.
He said: “Our ‘Yes’ to Sanchez is a ‘No’ to Rajoy.”
But while Mr Sanchez’s appointment could have implications for Catalonia, it is unlikely to rock the status quo in Europe as the new leader of the eurozone’s fourth biggest economy is a staunch supporters of the EU and the shared currency.
The new prime minister has vowed to fight corruption and help Spaniards affected by years of public spending cuts under Mr Rajoy’s government.
He has also pledged to hold an election soon, but is yet to set a date.
Mr Torra, after his separatist government was sworn in, said he was “committed” to Catalonian independence and wanted talks with Mr Sanchez.