Distant relatives of King Richard III had launched a legal battle over where his remains should be reburied.
After his remains were found, the Leicester city's cathedral was lined up for his tomb, but some wanted him reburied in York, to which he had strong links.
But a group claiming descent from the king's wider family were granted a judicial review, arguing more views should have been taken into account.
Killed at the Battle of Bosworth in 1485, Richard III, 32, was buried in a Leicester church but the building was lost to later development. He was was King of England for two years, from 1483 until his death in 1485.
The group which brought the challenge, the Plantagenet Alliance, claimed York was a more suitable location for Richard's remains as he has spent his childhood and much of his adult life in the North.
In the court case, they had argued the unique nature of the discovery meant more consultation should have taken place.
Lady Justice Hallett, sitting with Justice Ouseley and Justice Haddon-Cave, ruled there were no public law grounds for interfering with the plans for reburial at Leicester Cathedral, the BBC reported.
"Issues relating to his life and death and place of reinterment have been exhaustively examined and debated.
"We agree that it is time for Richard III to be given a dignified reburial, and finally laid to rest."
The reinterment ceremony has been scheduled for spring 2015.
David Monteith, the Dean of Leicester Cathedral, said: "It's wonderful. We are a place which respects history and our history is a long one. Leicester is taking its place in the story of England.
