The site of Somnath has been a pilgrimage site from ancient times on account of being a
Triveni Sangam (the confluence of three rivers: Kapila, Hiran and Saraswati).
Soma, the Moon god, is believed to have lost his lustre due to a curse, and he bathed in the Sarasvati River at this site to regain it. The result is said to be the waxing and waning of the moon. The name of the town,
Prabhasa, meaning lustre, as well as the alternative name
Someshvara ("the lord of the moon" or "the moon god"), arise from this tradition. The name
Someshvara begins to appear in records from the 9th century. The
Gurjara-Pratihara king
Nagabhata II () recorded that he had visited various
tirthas in Saurashtra, including
Someshvara. The
Chaulukya (Solanki) king
Mularaja is believed to have built the first temple dedicated to
Soma ("the moon god") at the site sometime before 997 CE, even though some historians believe that he may have renovated an earlier, smaller temple. , the Turkic Muslim ruler of the
Ghaznavid Empire, raided India as far as
Somnath,
Mathura and
Kannauj in
Gurjara-Pratihara territory.
Mahmud of Ghazni’s Raid (1026 CE) In 1026 CE, during the reign of
Bhima I, the Turkic Muslim ruler
Mahmud of Ghazni raided the Somnath temple after crossing the
Thar desert, desecrated its
jyotirlinga, and plundered 20 million dinars, including the temple's and city's gold in
caravans to a
Friday mosque in
Ghazni. The condition of Somnath temple in 1026 CE after Ghazni's raid is unclear because a 1038 inscription of Kadamba king of Goa is "puzzlingly silent" about Ghazni's raid or temple's condition. This inscription, states Thapar, could suggest that instead of destruction it may have been a desecration because the temple seems to have been repaired quickly within twelve years and was an active pilgrimage site by 1038. The raid of 1026 by Mahmud is confirmed by the 11th-century Persian historian Al-Biruni, who occasionally accompanied Mahmud's troops between 1017 and 1030 CE and lived intermittently in the northwest Indian subcontinent region. The invasion of Somnath site in 1026 CE is also confirmed by other Islamic historians such as Gardizi, Ibn Zafir and Ibn al-Athir. However, two Persian sources – one by adh-Dhahabi and other by al-Yafi'i – state it as 1027 CE, which is likely incorrect and late by a year, according to Khan – a scholar known for his studies on Al-Biruni and other Persian historians. According to Al-Biruni: Al-Biruni states that Mahmud destroyed the Somnath temple. He states Mahmud's motives as, "raids undertaken with a view to plunder and to satisfy the righteous
iconoclasm of a true Muslim... [he] returned to
Ghazna laden with costly spoils from the Hindu temples." Al-Biruni obliquely criticizes these raids for "ruining the prosperity" of India, creating antagonism among the Hindus for "all foreigners", and triggering an exodus of scholars of Hindu sciences far away from regions "conquered by us". Mahmud launched many plunder campaigns into India, including one that included the sack of Somnath temple. ascetic,
Kumarapala (r. 1143–72) rebuilt the Somnath temple in "excellent stone and studded it with jewels," according to an inscription in 1169. He replaced a decaying wooden temple.
Khalji's Invasion During its
1299 invasion of Gujarat,
Alauddin Khalji's army, led by
Ulugh Khan, defeated the Vaghela king
Karna, and sacked the Somnath temple. Legends in the later texts
Kanhadade Prabandha (15th century) and
Nainsi ri Khyat (17th century) state that the
Jalore ruler
Kanhadadeva later recovered the Somnath idol and freed the Hindu prisoners, after an attack on the Delhi army near Jalore. However, other sources state that the idol was taken to Delhi, where it was thrown to be trampled under the feet of Muslims. These sources include the contemporary and near-contemporary texts including
Amir Khusrau's
Khazainul-Futuh,
Ziauddin Barani's
Tarikh-i-Firuz Shahi and Jinaprabha Suri's
Vividha-tirtha-kalpa. It is possible that the story of Kanhadadeva's rescue of the Somnath idol is a fabrication by the later writers. Alternatively, it is possible that the Khalji army was taking multiple idols to Delhi, and Kanhadadeva's army retrieved one of them.
Chudasama Restoration The temple was rebuilt by
Mahipala I, the
Chudasama king of Saurashtra in 1308 and the
lingam was installed by his son
Khengara sometime between 1331 and 1351. As late as the 14th century,
Gujarati Muslim pilgrims were noted by
Amir Khusrow to stop at that temple to pay their respects before departing for the
Hajj pilgrimage. In 1395, the temple was destroyed for the third time by
Zafar Khan, the last governor of Gujarat under the
Delhi Sultanate and later founder of
Gujarat Sultanate. In 1451, it was desecrated by
Mahmud Begada, the Sultan of Gujarat.
Mughal Attempts for Conversion By 1665, the temple, one of many, was ordered to be destroyed by
Mughal emperor
Aurangzeb. However, the order appears not to have been carried out at that time. Aurangzeb ordered its destruction and conversion into a mosque again in 1706; this order does seem to have been carried out, though very little effort seems to have been put into the conversion.
Later reconstruction by Ahilyabai Holkar A separate, smaller temple was built near the ruins of the main shrine by
Ahilyabai Holkar, The Gadariya - Dhangar Queen of
Malwa. This event is a significant part of the temple's history after it was repeatedly damaged and finally ordered to be demolished by the Mughal emperor
Aurangzeb in 1706. Ahilyabai's Temple: The Maharani constructed this temple around 1783 CE (or 1785/1786 CE) to establish a safe place for pilgrims to continue worshipping Lord Shiva near the original site, which was then in a ruined state. Location and Significance: This shrine, often known as the Old Somnath Temple or Ahilyabai Temple, is located adjacent to the present main temple. Its construction ensured that the sacred worship of the Jyotirlinga could continue uninterrupted for centuries before the final reconstruction of the current Somnath Temple began in 1950. Restoration efforts: Ahilyabai Holkar is renowned for rebuilding and restoring Hindu temples and sites of pilgrimage across India, including parts of
Kashi Vishwanath Temple,
Gaya, and
Dwarka, demonstrating her profound religious devotion and commitment to preserving Hindu sacred geography.
British Raj , stored in the Arsenal of Agra Fort. In 1842,
Governor-General Lord Ellenborough issued
the Proclamation of the Gates, instructing the British army returning from Afghanistan to bring back the sandalwood gates of Somnath temple 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 retrieved the gates in September 1842 and the
6th Jat Light Infantry was detailed to carry the gates back to India. However, on arrival, the gates were proved to be of
Deodar wood not of
Sandalwood, and they were not of Gujarati style. The gates have remained in the
arsenal store-room of the
Agra Fort ever since. 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 2004 book on Somnath examines the evolution of the historiographies about the legendary Gujarat temple.
Reconstruction during 1950–1951 Before
independence,
Veraval was part of the
Junagadh State, whose ruler had acceded to Pakistan in 1947. India
contested the accession and annexed the state after holding a referendum. India's Deputy Prime Minister
Vallabhbhai Patel came to Junagadh on 12 November 1947 to direct the stabilization of the state by the Indian Army, at which time he ordered the reconstruction of the Somnath temple. When Patel,
K. M. Munshi and other leaders of the Congress went to
Mahatma Gandhi with their proposal to reconstruct the Somnath temple, Gandhi blessed the move but suggested that the funds for the construction should be collected from the public, and the temple should not be funded by the state. Accordingly, The Somnath Trust was established to collect funds and oversee the construction of the temple. Munshi headed the Trust. Being the Civil Supplies minister in the Government of India, Munshi was keen to involve the Government of India in the reconstruction effort, but he was overruled by Nehru. According to
Pandit Prem Nath Bazaz, there had been an agreement between the U.P. Government and the Indian Sugar Syndicate, wherein six annas (that is 40
paise) had to be collected out of the price of every mound of sugar by the Syndicate for the renovation of the Somnath temple. The ruins were pulled down in October 1950. The mosque present at that site was shifted few kilometres away by using construction vehicles. The new structure was built by the traditional
Sompura builders of temples in Gujarat. On 11 May 1951,
Rajendra Prasad, the President of India performed the installation ceremony for the temple at the invitation of Munshi. == Temple Architecture ==