The disputed holy site of Ayodhya in northern India should be given to Hindus who want a temple built there, the country’s Supreme Court has ruled.
The case, which has been bitterly contested for decades by Hindus and Muslims, centres on the ownership of the land in Uttar Pradesh state.
Muslims would get another plot of land to construct a mosque, the court said.
Many Hindus believe the site is the birthplace of one of their most revered deities, Lord Ram.
Muslims say they have worshipped there for generations.
- Ayodhya verdict: The man who represented a Hindu God
- The complex history of India’s Ayodhya holy site
At the centre of the row is the 16th Century Babri mosque which was demolished by Hindu mobs in 1992, sparking riots that killed nearly 2,000 people.
What did the court say?
In the unanimous verdict, the court said that a report by the Archaeological Survey of India (ASI) provided evidence that the remains of a building “that was not Islamic” beneath the structure of the demolished Babri mosque.
The court said that, given all the evidence presented, it had determined that the disputed land should be given to Hindus for a temple to Lord Ram, while Muslims would be given land elsewhere to construct a mosque.
It then directed the federal government to set up a trust to manage and oversee the construction of the temple.
However, the court added that the demolition of the Babri mosque was against the rule of law.
What has the reaction to the verdict been?
Despite warnings by authorities not to celebrate the verdict, BBC correspondents in court say they heard chants of “Jai Shree Ram” (Hail Lord Ram) outside as the judgement was pronounced.
“It’s a very balanced judgement and it is a victory for people of India,” a lawyer for one of the Hindu parties told reporters soon after.
Initially, a representative for the Muslim litigants said they were not satisfied and would decide whether to ask for a review after they had read the whole judgement.
However, the group has now said that it will not appeal the verdict.
Outside the court, the situation has been largely calm.
Hundreds of people were detained in Ayodhya on Friday ahead of the verdict, amid fears of violence.
Thousands of police officers have also been deployed in the city, while shops and colleges have been shut until Monday.
Social media platforms are being monitored for inflammatory content, with police even replying to tweets and asking users to delete them.
Prime Minister Narendra Modi reacted to the verdict on Twitter and said that it should not be seen as a “win or loss for anybody”.
What was arguably the world’s most contentious property dispute has finally come to an end.
The dispute over the plot has polarised, frustrated and exhausted India.
The reason is that this is not a humdrum civil matter. It was touched by faith (Hindus believe the plot was the birthplace of Lord Ram, a revered deity) violence (the demolition of the mosque in 1992) and subterfuge (idols of Lord Ram were placed in the mosque surreptitiously in 1949).
Saturday’s unanimous judgement by the five most senior judges of the court will hopefully lead to some reconciliation that the country badly needs.
The verdict showed “judicial craftsmanship and statesmanship where the letter of the law was adhered to, but the relief was moulded, taking into account the ground realities,” lawyer Sanjay Hegde told me. The judges appear to have gone by the evidence laid before it. “They have applied a plaster. Let’s not reopen the wounds,” Mr Hegde added.
Will the verdict lead to a closure of past animosities and help close India’s deepening religious fissures? Only time will tell.
For the moment, India’s main communities need to avoid triumphalism – because eventually there are no victors and vanquished, in what is essentially a contestation of faith.
What is the row actually about?
Many Hindus believe the Babri Masjid was actually constructed on the ruins of a Hindu temple that was demolished by Muslim invaders in the 16th Century.
Muslims say they offered prayers at the mosque until December 1949 when some Hindus placed an idol of Ram in the mosque and began to worship the idols.
The two religious groups have gone to court many times over who should control the site.
Since then, there have been calls to build a temple on the spot where the mosque once stood.
Hinduism is India’s majority religion and is thought to be more than 4,000 years old. India’s first Islamic dynasty was established in the early 13th Century.
Have religious tensions eased in India in recent years?
Ever since the Narendra Modi-led Hindu nationalist BJP first came to power in 2014, India has seen deepening social and religious divisions.
The call for the construction of a Hindu temple in Ayodhya has grown particularly loud, and has mostly come from MPs, ministers and leaders from the BJP since it took office.
Restrictions on the sale and slaughter of cows – considered a holy animal by the majority Hindus – have led to vigilante killings of a number of people, most of them Muslims who were transporting cattle.
An uninhibited display of muscular Hindu nationalism in other areas has also contributed to religious tension.
Most recently, the country’s home minister Amit Shah said he would remove “illegal migrants” – understood to be Muslim – from the country through a government scheme that was used recently in the north-eastern state of Assam.