Zapatero governed Spain, prioritising social reforms and fiscal stability; his tenure saw legalising same-sex marriage and withdrawal from Iraq.