On 31 May 2018 , the PSOE filed a no confidence motion in the Rajoy Government in the Congress of Deputies , which was passed the following day with the support of Unidos Podemos , as well as various regionalist and nationalist parties . Sánchez was subsequently sworn in as Prime Minister of Spain by Felipe VI on 2 June . He went on to lead his party to gain 38 seats in the 2019 general election , the PSOE 's first national victory since 2008
no confidence motion
2018 vote of no confidence in the government of Mariano Rajoy
Pedro Sánchez