Spain's governing Socialist Party won Sunday's election but fell short of the absolute majority that might have helped them act more quickly to cushion an economic slowdown.

"I will govern for all people, thinking first of those who have nothing," Prime Minister Jose Luis Rodriguez Zapatero told thousands of supporters cheering and waving red flags outside the Socialist headquarters.