Pedro Sánchez of the Spanish Socialist Workers' Party (PSOE) has been Prime Minister since 2 June 2018, after a successful motion of no confidence against former prime minister Mariano Rajoy. The Sánchez government technically ceased on 29 April 2019 after the 2019 Spanish general election, but was acting afterwards. However, following the November 2019 general election, Sánchez earned a second mandate as Prime Minister after receiving a plurality of votes in the second round vote of his investiture at the Congress of Deputies on 7 January 2020. He then resumed being the official prime minister after he was sworn in by King Felipe on 8 January 2020. His new government was then sworn in by King Felipe on 13 January 2020.