After the successful motion of no confidence against the government of Mariano Rajoy, he was dismissed on June 29, 2018 and Maria José Segarra was appointed Attorney General.