Answer
Zapatero left office in 2012, having served as the Prime Minister of Spain from 2004 to 2011. He was a member of the Spanish Socialist Workers' Party (PSOE). Zapatero's tenure was marked by the global financial crisis of 2008, which had a significant impact on Spain's economy.