First government of José Luis Rodríguez Zapatero
The first government of José Luis Rodríguez Zapatero was formed on 18 April 2004, following the latter's election as Prime Minister of Spain by the Congress of Deputies on 16 April and his swearing-in on 17 April, as a result of the Spanish Socialist Workers' Party (PSOE) emerging as the largest parliamentary force at the 2004 Spanish general election. It succeeded the second Aznar government and was the Government of Spain from 18 April 2004 to 14 April 2008, a total of days, or . The cabinet comprised members of the PSOE  (including its sister party, the Socialists' Party of Catalonia, PSC) and a number of independents. It was automatically dismissed on 10 March 2008 as a consequence of the 2008 general election, but remained in acting capacity until the next government was sworn in. Cabinet changes. Zapatero's first government saw a number of cabinet changes during its tenure: Council of Ministers. The Council of Ministers was structured into the offices for the prime minister, the two deputy prime ministers, 16 ministries and the post of the spokesperson of the Government. Departmental structure. José Luis Rodríguez Zapatero's first government was  organised into several superior and governing units, whose number, powers and hierarchical structure varied depending on the ministerial department.