Zapatero led Spain as prime minister from 2004 to 2010, enacting social reforms and withdrawing troops from Iraq.