Zapatero government into office on 17 April. Zapatero's first cabinet was composed mainly by members of the Spanish Socialist Workers' Party (PSOE) and its sister party, the Socialists' Party of Catalonia (PSC), as well as a number of independents. It succeeded the second Aznar government. The Council of Ministers was structured into the Prime Minister, two Deputy Prime Ministers, 16 ministries and the post of Spokesperson of the Government. The second Zapatero government was the government of Spain from 14 April 2008 to 22 December 2011, a total of days, or . Zapatero was elected Prime Minister by the Congress of Deputies
Spain–United States relations Popular, were against the war. After the Spanish general election in 2004, in which the Spanish socialists received more votes than expected as a result, besides other issues, of the government's handling of the 2004 Madrid train bombings, José Luis Rodríguez Zapatero succeeded Aznar as Prime Minister. Before being elected, Zapatero had opposed the American policy in regard to Iraq pursued by Aznar. During the electoral campaign Zapatero had promised to withdraw the troops if control in Iraq was not passed to the United Nations after June 30 (the ending date of the initial Spanish military agreement with the multinational