The Legend of Somnath & Chandra: Sacred Story and Historical Context

Jyotirling.com Editorial · 21 November 2026

10 min read

Somnath is the first name in almost every list of the twelve jyotirlingas, and it carries two kinds of story that are best told separately. One is a sacred story about the moon. The other is a long record of a temple that was built, raided, rebuilt and renewed. This article keeps them apart, so that faith is not asked to prove a date and history is not asked to prove a miracle.

Jyotirling.com is an independent guide and not a temple authority. For visiting, use our Somnath guide, the temple page and the trust's official channels.

Part one: the sacred story

What the sources tell

In the Mahabharata's account, Soma (the moon) is married to the twenty-seven daughters of Daksha. In the symbolism that readers have long drawn out, these daughters are the lunar mansions, the nakshatras. Soma favours one of them, Rohini, above the rest. Daksha warns him to treat all his wives alike. When Soma does not, Daksha curses him with a wasting illness, and the moon begins to fade. The gods intercede, and Soma comes to a tirtha on the western coast, where he regains his radiance. In the Mahabharata's explanation, that regained splendour (prabhā) is how the place gets the name Prabhasa. The passage sits in the epic's section on pilgrimages along the western shore, and its parva and verse numbers should be checked in a Sanskrit edition.

The Skanda Purana's Prabhasa Khanda tells of Chandra and Daksha in its own way and places the story in a landscape of tirthas around the same coast. In the Shiva-focused telling found in the Purana tradition, Chandra performs austerity at Prabhasa, Shiva is pleased and tells him to take shelter in his matted hair. That is why the moon is seen as a crescent on Shiva's head and why the form there is called Somanatha or Someshvara, "lord of the moon". The compromise of the curse is the origin story for the waxing and waning: the moon fades for half the month and returns for the other half.

Versions differ

Not every text says the same. Some give a different number of daughters, some put the healing in a river or a sea bath, and some make Shiva the healer. This is normal for sacred narrative, and the differences are part of the tradition rather than errors.

What the story means to devotees

Many readers take it as a story about measure and fairness in love, and about a divine presence that does not remove consequence but softens it. We offer that as a reading, not a doctrine. The temple's own explanations are the best guide to how its community tells it.

Part two: documented history

The site was occupied from very early times, and Prabhasa (Prabhas Patan) is named as a pilgrimage centre in old texts. Archaeology, according to the Wikipedia summary of the scholarship, has not found traces of an early temple on the spot even though there was a settlement. Estimates for the first temple range from the early centuries CE to about the 9th century CE, and the name Someshvara appears in records from the 9th century. A tradition-and-history overlap is common at this shrine, so the table keeps the sources in view.

Timeline

Period What is recorded Note on certainty
Before 997 CE A temple is believed to have been built by the Chaulukya (Solanki) king Mularaja, possibly renovating an older small shrine Attributed by modern summaries; verify against the inscriptions
January 1026 Mahmud of Ghazni raids the temple during the reign of Bhima I Recorded in several Persian sources, and Al-Biruni confirms the raid. A couple of sources give 1027
Within about a dozen years The temple appears to have been repaired; a 1038 Kadamba inscription is silent on the raid Scholars read the aftermath differently
1169 Kumarapala rebuilds in stone, at the urging of the Pashupata ascetic Bhava Brihaspati, replacing a decaying wooden temple, according to an inscription Inscriptional
1299 The army of Alauddin Khalji under Ulugh Khan defeats the Vaghela king Karna and sacks the temple Later tales of the lingam being rescued are probably legend; contemporary sources say it was taken to Delhi
1308 and 1331-1351 The Chudasama king Mahipala I rebuilds; his son Khengara installs the lingam As summarised
1395 and 1451 Further destruction under Muzaffar Shah I; later desecration under Mahmud Begada As summarised
1665 and 1706 Orders to destroy are attributed to Aurangzeb; the first appears not to have been carried out, the second was As summarised
c. 1783 Ahilyabai Holkar builds a smaller temple near the ruins so worship can continue Date varies slightly by source
1842 Lord Ellenborough orders the return of "sandalwood gates" said to have come from Somnath; they later prove to be deodar A well-known colonial episode
1947-1951 Reconstruction led by Vallabhbhai Patel; the new temple completed in May 1951 Widely documented

How historians handle the story

The 1026 raid is among the best documented medieval events in the region, but its meaning is contested. Medieval Persian sources made Mahmud a hero of Islam, while later Indian memory made him a destroyer, and the temple a symbol of loss and recovery. Romila Thapar has argued that figures such as "fifty thousand killed" are formulaic numbers repeated in the Persian texts to build a ruler's reputation. Al-Biruni, who was in the region, thought the raids ruined the country's prosperity and drove scholars away. Reading these claims calmly, without adopting either grievance, is a respectful way to engage.

The temple today

The present temple was rebuilt after 1947 and is described by the Government of India's tourism portal as in the Chalukyan style, completed in 1951. Other sources call it the Maru-Gurjara or Solanki style and describe a "Kailash Mahameru Prasad" plan with a sanctum, an assembly hall and a dance hall, topped with a spire of roughly 150 to 155 feet. The height varies by source, so we give a range.

A way to read the two halves together

Question Sacred story answers Historical record answers
Why is Somnath called Somnath? The lord of the moon, who sheltered Chandra A name attested from around the 9th century
Why is the place called Prabhasa? The moon regained splendour An old pilgrimage name in the Mahabharata
How old is the shrine? Beyond human counting Earliest temple not found by excavation; records from 9th-10th century
Why does it matter? A sign of restoration and mercy A site of repeated loss, patronage and renewal

Next steps

Sources and last check

Last checked 2026-11-21. Wikipedia's Somnath temple article, used as a summary of the inscriptions, Persian chronicles and modern historians (Thapar, Malik); Incredible India for the present temple's style and completion year; Wisdom Library for the Mahabharata and Skanda Purana passages; Sri Kanchi Kamakoti Peetham for the Shiva Purana summary. All dates need checking against the primary scholarship before release. Full links are in the front matter.