LONDON (AP) -- The U.K. Supreme Court ruled Wednesday that Scotland does not have the power to hold a new referendum on independence without the consent of the British government. The judgment is a setback for the Scottish government's campaign to break away from the United Kingdom.
Scottish First Minister Nicola Sturgeon said she would respect the ruling but continue the fight for independence, saying Scotland's "democratic right to choose our own future" was at stake.
The top court ruled that the Scottish Parliament "does not have the power to legislate for a referendum on Scottish independence."
Supreme Court President Robert Reed said the five justices were unanimous in the verdict, delivered six weeks after lawyers for the pro-independence Scottish administration and the Conservative U.K. government argued their cases at hearings in London.
Independence supporters plan to rally outside the Scottish Parliament in Edinburgh and at other sites later Wednesday.
The semi-autonomous Scottish government wants to hold a referendum next October with the question "Should Scotland be an independent country?"
The U.K. government in London refuses to approve a vote, saying the question was settled in a 2014 referendum that saw Scottish voters reject independence by a margin of 55% to 45%.
The pro-independence government in Edinburgh wants to revisit the decision, though, arguing that Britain's departure from the European Union -- which a majority of Scottish voters opposed -- has radically changed the political and economic landscape.
Sturgeon argues that she has a democratic mandate from the Scottish people to hold a new secession vote because there is an independence-supporting majority in the Scottish Parliament.
During Supreme Court hearings last month, Dorothy Bain, the Scottish government's top law officer, said the majority of Scottish lawmakers had been elected on commitments to hold a fresh independence referendum. She also said a referendum would be advisory, rather than legally binding -- though a "yes" vote would create strong momentum for Scotland to break away.
U.K. government lawyer James Eadie argued that power to hold a referendum rests with the U.K. Parliament in London, because "it's of critical importance to the United Kingdom as a whole," not just Scotland.
The Supreme Court justices agreed. They said it is clear that "a Bill which makes provision for a referendum on independence – on ending the sovereignty of the Parliament of the United Kingdom over Scotland - has more than a loose or consequential connection with the sovereignty of that Parliament."
Reed stressed that the court was "not asked, and cannot be asked, to express a view on the political question of whether Scotland should become an independent country."
The British government urged politicians in Scotland and London to move on and focus on pressing issues such as a struggling economy and a cost-of-living crisis.
Scottish Secretary Alister Jack said "people in Scotland want both their governments to be concentrating all attention and resources on the issues that matter most to them."
But Sturgeon said the ruling was "a hard pill for any supporter of independence -- and surely indeed for any supporter of democracy - to swallow."
"A so-called partnership in which one partner is denied the right to choose a different future … cannot be described in any way as voluntary or even a partnership at all," she said. She ruled out holding an unauthorized referendum, saying "the route we take must be lawful and democratic for independence to be achieved."
Sturgeon said she would make the next U.K. national election, due within two years, a de-facto plebiscite on ending Scotland's three-century-old union with England. She said the SNP would hold a special conference next year to work out details of that plan.
Polls suggest Scots are about evenly split on independence -- and also that a majority of voters do not want a new referendum anytime soon.
Scotland and England have been politically united since 1707. Scotland has had its own parliament and government since 1999 and makes its own policies on public health, education and other matters. The U.K.-wide government in London controls matters such as defense and fiscal policy.