On 7 June 2018, Pedro Sánchez after being sworn new Spanish Prime Minister, following the motion of censure that the PSOE presented against the previous government of Mariano Rajoy (PP) and that was approved by the Congress of Deputies on 1 June 2018, appointed her as Minister in new Spanish government. Felipe VI sanctioned by royal decree of June her appointment as holder of the portfolio of Minister of Education and Vocational Training and Spokesperson of the Government On 7 June she took office as Minister and Spokeswoman before the King at Palace of Zarzuela.