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 3 years, 12 months, 2 days.

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:
 * On 7 April 2006, José Bono's stepping down as Minister of Defence out of personal motives, a decision which had been taken throughout the months prior, led to the first cabinet reshuffle of Zapatero's premiership. José Antonio Alonso replaced Bono in Defence, and in turn he was replaced by Alfredo Pérez Rubalcaba as Minister of the Interior. María Jesús San Segundo was replaced by Mercedes Cabrera as Minister of Education and Science. The new ministers were sworn into office on 11 April.
 * On 8 September 2006, José Montilla stepped down as Minister of Industry, Tourism and Trade in order to run as the Socialists' Party of Catalonia (PSC)'s candidate for President of the Government of Catalonia in the 2006 Catalan regional election. He was succeeded by Mayor of Barcelona Joan Clos.
 * On 12 February 2007, Mariano Fernández Bermejo replaced Juan Fernando López Aguilar as Minister of Justice, after the latter's decision to lead the Spanish Socialist Workers' Party (PSOE) into the 2007 Canarian regional election. López Aguilar had been nominated unopposed as the party's leading candidate for President of the Canary Islands on 28 October 2006,  after several months of speculation.
 * On 9 July 2007, a second major cabinet reshuffle saw Bernat Soria replacing Elena Salgado as Minister of Health and Consumer Affairs, who in turn replaced Jordi Sevilla in the Public Administrations ministry. María Antonia Trujillo was replaced by Carme Chacón as Minister of Housing, and César Antonio Molina became the new officeholder of the Culture portfolio replacing Carmen Calvo.

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.

{| class="wikitable" ! Portfolio ! Name ! width="100px" colspan="2"| Party ! width="135px"| Took office ! width="135px"| Left office ! Ref.
 * colspan="7" bgcolor="#F2F2F2" align="center"| ← Zapatero I Government → (18 April 2004 – 14 April 2008)
 * colspan="7" bgcolor="#F2F2F2" align="center"| ← Zapatero I Government → (18 April 2004 – 14 April 2008)
 * Prime Minister
 * José Luis Rodríguez Zapatero
 * width="1" style="background-color:;"|
 * PSOE
 * 17 April 2004
 * 12 April 2008
 * align="center"|
 * colspan="7"|
 * First Deputy Prime Minister Minister of the Presidency Spokesperson of the Government
 * Mª Teresa Fernández de la Vega
 * style="background-color:;"|
 * PSOE (Ind.)
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Second Deputy Prime Minister Minister of Economy and Finance
 * Pedro Solbes
 * style="background-color:;"|
 * PSOE (Ind.)
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Foreign Affairs and Cooperation
 * Miguel Ángel Moratinos
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Justice
 * Juan Fernando López Aguilar
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 12 February 2007
 * align="center"|
 * Minister of Defence
 * José Bono
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 11 April 2006
 * align="center"|
 * Minister of the Interior
 * José Antonio Alonso
 * style="background-color:;"|
 * PSOE (Ind.)
 * 18 April 2004
 * 11 April 2006
 * align="center"|
 * Minister of Development
 * Magdalena Álvarez
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Education and Science
 * María Jesús San Segundo
 * style="background-color:;"|
 * PSOE (Ind.)
 * 18 April 2004
 * 11 April 2006
 * align="center"|
 * Minister of Labour and Social Affairs
 * Jesús Caldera
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Industry, Tourism and Trade
 * José Montilla
 * style="background-color:;"|
 * PSOE (PSC)
 * 18 April 2004
 * 8 September 2006
 * align="center"|
 * Minister of Agriculture, Fisheries and Food
 * Elena Espinosa
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Public Administrations
 * Jordi Sevilla
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 9 July 2007
 * align="center"|
 * Minister of Culture
 * Carmen Calvo
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 9 July 2007
 * align="center"|
 * Minister of Health and Consumer Affairs
 * Elena Salgado
 * style="background-color:;"|
 * PSOE (Ind.)
 * 18 April 2004
 * 9 July 2007
 * align="center"|
 * Minister of Environment
 * Cristina Narbona
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Housing
 * María Antonia Trujillo
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 9 July 2007
 * align="center"|
 * colspan="7"|
 * align="center"|
 * Minister of Environment
 * Cristina Narbona
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 14 April 2008
 * align="center"|
 * Minister of Housing
 * María Antonia Trujillo
 * style="background-color:;"|
 * PSOE
 * 18 April 2004
 * 9 July 2007
 * align="center"|
 * colspan="7"|
 * align="center"|
 * colspan="7"|
 * colspan="7"|

Changes April 2006
! Portfolio ! Name ! colspan="2"| Party ! Took office ! Left office ! Ref.
 * Minister of Defence
 * José Antonio Alonso
 * style="background-color:;"|
 * PSOE (Ind.)
 * 11 April 2006
 * 14 April 2008
 * align="center"|
 * Minister of the Interior
 * Alfredo Pérez Rubalcaba
 * style="background-color:;"|
 * PSOE
 * 11 April 2006
 * 14 April 2008
 * align="center"|
 * Minister of Education and Science
 * Mercedes Cabrera
 * style="background-color:;"|
 * PSOE (Ind.)
 * 11 April 2006
 * 14 April 2008
 * align="center"|
 * colspan="7"|
 * 14 April 2008
 * align="center"|
 * colspan="7"|
 * colspan="7"|

Changes September 2006
! Portfolio ! Name ! colspan="2"| Party ! Took office ! Left office ! Ref.
 * Minister of Industry, Tourism and Trade
 * Joan Clos
 * style="background-color:;"|
 * PSOE (PSC)
 * 8 September 2006
 * 14 April 2008
 * align="center"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

Changes February 2007
! Portfolio ! Name ! colspan="2"| Party ! Took office ! Left office ! Ref.
 * Minister of Justice
 * Mariano Fernández Bermejo
 * style="background-color:;"|
 * PSOE (Ind.)
 * 12 February 2007
 * 14 April 2008
 * align="center"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

Changes July 2007
! Portfolio ! Name ! colspan="2"| Party ! Took office ! Left office ! Ref.
 * Minister of Public Administrations
 * Elena Salgado
 * style="background-color:;"|
 * PSOE (Ind.)
 * 9 July 2007
 * 14 April 2008
 * align="center"|
 * Minister of Culture
 * César Antonio Molina
 * style="background-color:;"|
 * PSOE (Ind.)
 * 9 July 2007
 * 14 April 2008
 * align="center"|
 * Minister of Health and Consumer Affairs
 * Bernat Soria
 * style="background-color:;"|
 * PSOE (Ind.)
 * 9 July 2007
 * 14 April 2008
 * align="center"|
 * Minister of Housing
 * Carme Chacón
 * style="background-color:;"|
 * PSOE (PSC)
 * 9 July 2007
 * 14 April 2008
 * align="center"|
 * }
 * 9 July 2007
 * 14 April 2008
 * align="center"|
 * }

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.


 * Unit/body rank
 * Secretary of state
 * Undersecretary
 * Director-general
 * Autonomous agency
 * Military & intelligence agency

{| class="wikitable" style="line-height:18px;" ! scope="col"| Office (Original name) ! scope="col"| Portrait ! scope="col"| Name ! scope="col"| Took office ! scope="col"| Left office ! colspan="3" scope="col"| Alliance/party ! Ref. ! colspan="9"|

Prime Minister's Office

 * align="center" rowspan="2" width="250"| Prime Minister (Presidencia del Gobierno)
 * width="80"| José Luis Rodríguez Zapatero 2004b (cropped).jpg
 * width="200"| José Luis Rodríguez Zapatero
 * width="200"| 17 April 2004
 * width="200"| 12 April 2008
 * width="1" style="background-color:;"|
 * width="1" style="background-color:;"|
 * width="175" align="center"| PSOE
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|
 * align="center" rowspan="2"| First Deputy Prime Minister (Vicepresidencia Primera del Gobierno)
 * María Teresa Fernández de la Vega 2006 (cropped).jpg
 * Mª Teresa Fernández de la Vega
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="2"|
 * colspan="7"| See Ministry of the Presidency
 * align="center" rowspan="2"| Second Deputy Prime Minister (Vicepresidencia Segunda del Gobierno)
 * Pedro Solbes 2007 (cropped).jpg
 * Pedro Solbes
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="2"|
 * colspan="7"| See Ministry of Economy and Finance
 * align="center"| PSOE (Independent)
 * align="center" rowspan="2"|
 * colspan="7"| See Ministry of Economy and Finance
 * colspan="7"| See Ministry of Economy and Finance

Ministry of Foreign Affairs and Cooperation

 * align="center" rowspan="2"| Ministry of Foreign Affairs and Cooperation (Ministerio de Asuntos Exteriores y de Cooperación)
 * Miguel Ángel Moratinos 2006 (cropped).jpg
 * Miguel Ángel Moratinos
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Justice

 * align="center" rowspan="3"| Ministry of Justice (Ministerio de Justicia)
 * Juan Fernando López Aguilar 2004 (cropped).jpg
 * Juan Fernando López Aguilar
 * 18 April 2004
 * 12 February 2007
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="3"|
 * Mariano Fernández Bermejo 2007c (cropped).jpg
 * Mariano Fernández Bermejo
 * 12 February 2007
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Defence

 * align="center" rowspan="3"| Ministry of Defence (Ministerio de Defensa)
 * José Bono 2005b (cropped).jpg
 * José Bono
 * 18 April 2004
 * 11 April 2006
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="3"|
 * José Antonio Alonso 2004 (cropped).jpg
 * José Antonio Alonso
 * 11 April 2006
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Economy and Finance

 * align="center" rowspan="2"| Ministry of Economy and Finance (Ministerio de Economía y Hacienda)
 * Pedro Solbes 2007 (cropped).jpg
 * Pedro Solbes
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of the Interior

 * align="center" rowspan="3"| Ministry of the Interior (Ministerio del Interior)
 * José Antonio Alonso 2004 (cropped).jpg
 * José Antonio Alonso
 * 18 April 2004
 * 11 April 2006
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="3"|
 * Alfredo Pérez Rubalcaba 2007 (cropped).jpg
 * Alfredo Pérez Rubalcaba
 * 11 April 2006
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * colspan="7"|
 * align="center"| PSOE
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Development

 * align="center" rowspan="2"| Ministry of Development (Ministerio de Fomento)
 * Magdalena Álvarez 2011b (cropped).jpg
 * Magdalena Álvarez
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Education and Science

 * align="center" rowspan="3"| Ministry of Education and Science (Ministerio de Educación y Ciencia)
 * María Jesús San Segundo 2005 (cropped).jpg
 * María Jesús San Segundo
 * 18 April 2004
 * 11 April 2006
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="3"|
 * Mercedes Cabrera 2007 (cropped).jpg
 * Mercedes Cabrera
 * 11 April 2006
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Labour and Social Affairs

 * align="center" rowspan="2"| Ministry of Labour and Social Affairs (Ministerio de Trabajo y Asuntos Sociales)
 * Jesús Caldera 2010b (cropped).jpg
 * Jesús Caldera
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Industry, Tourism and Trade

 * align="center" rowspan="3"| Ministry of Industry, Tourism and Trade (Ministerio de Industria, Turismo y Comercio)
 * José Montilla 2008 (cropped).jpg
 * José Montilla
 * 18 April 2004
 * 8 September 2006
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (PSC–PSOE)
 * align="center" rowspan="3"|
 * Joan Clos 2011b (cropped).jpg
 * Joan Clos
 * 8 September 2006
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (PSC–PSOE)
 * colspan="7"|
 * align="center"| PSOE (PSC–PSOE)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Agriculture, Fisheries and Food

 * align="center" rowspan="2"| Ministry of Agriculture, Fisheries and Food (Ministerio de Agricultura, Pesca y Alimentación)
 * Elena Espinosa 2010 (cropped).jpg
 * Elena Espinosa
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of the Presidency

 * align="center" rowspan="2"| Ministry of the Presidency (Ministerio de la Presidencia)
 * María Teresa Fernández de la Vega 2006 (cropped).jpg
 * Mª Teresa Fernández de la Vega
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Public Administrations

 * align="center" rowspan="3"| Ministry of Public Administrations (Ministerio de Administraciones Públicas)
 * Jordi Sevilla 2005 (cropped).jpg
 * Jordi Sevilla
 * 18 April 2004
 * 9 July 2007
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="3"|
 * Elena Salgado 2010c (cropped).jpg
 * Elena Salgado
 * 9 July 2007
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Culture

 * align="center" rowspan="3"| Ministry of Culture (Ministerio de Cultura)
 * Carmen Calvo 2005b (cropped).jpg
 * Carmen Calvo
 * 18 April 2004
 * 9 July 2007
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="3"|
 * César Antonio Molina 2008 (cropped).jpg
 * César Antonio Molina
 * 9 July 2007
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Health and Consumer Affairs

 * align="center" rowspan="3"| Ministry of Health and Consumer Affairs (Ministerio de Sanidad y Consumo)
 * Elena Salgado 2010c (cropped).jpg
 * Elena Salgado
 * 18 April 2004
 * 9 July 2007
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center" rowspan="3"|
 * Bernat Soria 2008b (cropped).jpg
 * Bernat Soria
 * 9 July 2007
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * align="center"| PSOE (Independent)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Environment

 * align="center" rowspan="2"| Ministry of Environment (Ministerio de Medio Ambiente)
 * Cristina Narbona 2007 (cropped).jpg
 * Cristina Narbona
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="2"|
 * colspan="7"|
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Ministry of Housing

 * align="center" rowspan="3"| Ministry of Housing (Ministerio de Vivienda)
 * María Antonia Trujillo 2004b (cropped).jpg
 * María Antonia Trujillo
 * 18 April 2004
 * 9 July 2007
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE
 * align="center" rowspan="3"|
 * Carme Chacón 2010 (cropped).jpg
 * Carme Chacón
 * 9 July 2007
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (PSC–PSOE)
 * colspan="7"|
 * align="center"| PSOE (PSC–PSOE)
 * colspan="7"|
 * colspan="7"|

! colspan="9"|

Spokesperson of the Government

 * align="center"| Spokesperson of the Government (Portavoz del Gobierno)
 * María Teresa Fernández de la Vega 2006 (cropped).jpg
 * Mª Teresa Fernández de la Vega
 * 18 April 2004
 * 14 April 2008
 * style="background-color:;"|
 * style="background-color:;"|
 * align="center"| PSOE (Independent)
 * align="center"|
 * }
 * }