In 1842, Edward Law, 1st Earl of Ellenborough issued his Proclamation of the Gates, in which he ordered the British army in Afghanistan to return via Ghazni and bring back to India the sandalwood gates from the tomb of Mahmud of Ghazni in Ghazni, Afghanistan.
These were believed to have been taken by Mahmud from Somnath.
Under Ellenborough's instruction, General William Nott removed the gates in September 1842.
A whole sepoy regiment, the 6th Jat Light Infantry, was detailed to carry the gates back to India in triumph.
However, on arrival, they were found not to be of Gujarati or Indian design, and not of Sandalwood, but of Deodar wood (native to Ghazni) and therefore not authentic to Somnath.
They were placed in the arsenal store-room of the Agra Fort where they still lie to the present day.
There was a debate in the House of Commons in London in 1843 on the question of the gates of the temple and Ellenbourough's role in the affair.
After much crossfire between the British Government and the opposition, all of the facts as we know them were laid out.

In the 19th century novel The Moonstone by Wilkie Collins, the diamond of the title is presumed to have been stolen from the temple at Somnath and, according to the historian Romila Thapar, reflects the interest aroused in Britain by the gates.
Her recent work on Somnath examines the evolution of the historiographies about the legendary Gujarat temple.[6]
In 1842, Edward Law, 1st Earl of Ellenborough issued his Proclamation of the Gates, in which he ordered the British army in Afghanistan to return via Ghazni and bring back to India the sandalwood gates from the tomb of Mahmud of Ghazni in Ghazni, Afghanistan. These were believed to have been taken by Mahmud from Somnath. Under Ellenborough's instruction, General William Nott removed the gates in September 1842. A whole sepoy regiment, the 6th Jat Light Infantry, was detailed to carry the gates back to India in triumph. However, on arrival, they were found not to be of Gujarati or Indian design, and not of Sandalwood, but of Deodar wood (native to Ghazni) and therefore not authentic to Somnath. They were placed in the arsenal store-room of the Agra Fort where they still lie to the present day. There was a debate in the House of Commons in London in 1843 on the question of the gates of the temple and Ellenbourough's role in the affair. After much crossfire between the British Government and the opposition, all of the facts as we know them were laid out.
In the 19th century novel The Moonstone by Wilkie Collins, the diamond of the title is presumed to have been stolen from the temple at Somnath and, according to the historian Romila Thapar, reflects the interest aroused in Britain by the gates. Her recent work on Somnath examines the evolution of the historiographies about the legendary Gujarat temple.[6]
Somnath temple