Answer
Sócrates succeeded Pedro Santana Lopes as Prime Minister of Portugal in 2005. Lopes had been in office since 2002, but his government was defeated in a general election. Sócrates was a member of the Socialist Party, and his election marked a return to power for the left after a period of conservative rule.