After the success of the motion of no confidence against the government of Mariano Rajoy in June 2018, Prime Minister Pedro Sanchez named Pedro Duque Minister of Science, Innovation and Universities.