Scottish nationalists became the largest party in the Scottish parliament today in a severe blow to Prime Minister Tony Blair's Labour Party.
The Scottish National Party's (SNP) win in yesterday's election ended 50 years of Labour dominance in Scotland, although it will need to ally with other parties to form a coalition in the Scotland assembly.
SNP leader Alex Salmond, who has pledged a referendum in three years on Scottish independence from Britain, declared himself the winner. "This is an historic moment," he said.
Mr Blair is expected to announce next week he is stepping down as prime minister and the SNP victory bequeaths a thorny problem for his successor, almost certain to be Gordon Brown, a 56-year-old Scot.
Yesterday's polls for local councils in England and the Scottish and Welsh assemblies were the last chance for 39 million voters to give a verdict on Mr Blair's decade in power.
The Conservative Party, resurgent under new leader David Cameron, were the big winners in local council elections, winning more than 800 seats and inflicting heavy losses on Labour.
Labour also lost seats in Wales, where there is also a devolved assembly, but remained the largest party.
The SNP won 47 seats in the Scottish parliament to Labour's 46, official results showed. Who rules in Scotland depends on complex negotiations on forming a coalition that will be held over coming days.
Mr Blair said the results were far from a rout and gave a "perfectly good springboard" for the next general election. "You always take a hit in the mid term," he told BBC television.
"We came from worse results a few years ago and won an election. And we're going to do it again."
The prime minister's popularity has slumped over the Iraq war and a series of political scandals. Mr Brown could rule until May 2010 without holding an election but doubts remain over whether he can rein in the Tories before the next parliamentary poll.
A BBC projection showed the Conservatives had taken 41 per cent of the national vote, a threshold deemed necessary to win power at a general election.
But mid-term elections are not necessarily a reliable indicator of national results.
Labour had braced itself for a drubbing in the elections - its share of the vote was projected at just 27 per cent. Mr Blair's government slumped to a record low of 26 per cent in 2004 polls but still won a parliamentary election the following year.
The Scottish vote was marred by hitches. Voters complained that tens of thousands of votes had been rejected because people were confused by complex ballot papers. Counting in some major constituencies was delayed by computer scanning glitches.
Confusing ballot papers were being blamed for as many as 100,000 invalid votes in elections to the Scottish Parliament and councils north of the border, potentially affecting crucial contests in a neck-and-neck fight between Labour and the Scottish National Party for dominance at Holyrood.
And there were concerns over new electronic vote-counting equipment, with counts in England and Scotland suffering delays due to technical glitches.