The first government of Susana Díaz was formed on 10 September 2013 following the latter's election as President of Andalusia by the Parliament of Andalusia on 5 September and her swearing-in on 7 September, as a result of the resignation of the former president, José Antonio Griñán, over the erosion of the ERE scandal, a large slush fund corruption scandal involving former leading figures of the regional PSOE's branch, including former development minister Magdalena Álvarez, with former Andalusian president Manuel Chaves and himself being accused of knowing and concealing such a plot. It succeeded the second Griñán government and was the Government of Andalusia from 10 September 2013 to 18 June 2015, a total of 646 days, or 1 year, 9 months and 8 days.