Spain’s Socialist party has claimed a narrow victory in the northwestern Galicia region.
With all domestic and postal votes counted, the result marks the end of the opposition Popular Party’s 16-year rule.
The Socialists plan to form a coalition government with the Galician nationalists to control the 75-seat parliament.
The ballot is the second in which the Socialists have gained support since their surprise victory in last year’s general election.
Even before the postal votes were counted Socialist leader Emilio Perez Tourino hailed the victory.
“Galicia has voted for change, and change has won the elections in votes and in seats. There is a new order in Galicia now,” he said.
The result marks the end of Manuel Fraga’s career, the last political survivor of General Franco’s dictatorship.
Although his party may remain the biggest group in the regional parliament, his 16-year reign as leader of the Galician government is over.