On 1 June 2018 a motion of no confidence in the Spanish government was successful, and resulted in the downfall of Mariano Rajoy and in socialist leader Pedro Sánchez becoming new Prime Minister of Spain. Catalan nationalist parties were a key support to the downfall of Rajoy.