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 coalition that had overthrown Saddam Hussein). On April 19, 2004 Zapatero announced the withdrawal of the 1300 Spanish troops in Iraq.