In Indian history, certain events have forever become symbols of the struggle involving civilization, culture and faith. The successive invasions of India by Mahmud of Ghazni in the 11th century and specifically the attack on the Somnath Temple, constitute one such event that has left a profound imprint on the Indian psyche.
Indeed, this subject is not merely limited to the looting of a temple by an Islamic invader; in its time, it also stood as a symbol of Jihadi frenzy and cultural clash. On the other hand stands Somnath; for every time the invaders attempted to raze it to the ground, it rose again, each time with even greater splendor than before. Viewed in this light, its repeated reconstruction serves as a testament to the indomitable faith and capacity for resurgence inherent in Indian society.
Mahmud’s Rise to Power in Ghazni
In the year 997 AD, Subuktigin, the ruler of Ghazni, declared his younger son, Ismail, as his successor. However, his elder son, Mahmud, refused to accept this decision. Defeating Ismail in a civil war, he seized power in Ghazni for himself. Upon consolidating his authority, Mahmud sought legitimacy from the Caliph and declared that, every year, he would launch a campaign in India against “infidels” (non-Muslim Hindus)- a campaign involving looting, slaughter, violence and forced conversions. Historian H.M. Elliot, in his book “The History of India as Told by Its Own Historians”, notes that Mahmud had adopted the mantle of “Jihad” against India.
Mahmud’s first major campaign was directed against the Hindu Shahi ruler, Jayapala. In a battle fought near Peshawar in 1000–01 AD, Jayapala suffered a defeat. The Muslim historian Al-Utbi wrote in “Tarikh-i-Yamini” that, following the battle, thousands of Hindus were massacred and a large number of people were taken captive.
After taking Jayapala prisoner, Mahmud demanded a hefty ransom and 50 elephants. Anandapala fulfilled this demand and secured his father’s release. However, this incident shattered Jayapala to his very core. It is said that, deeply wounded by the humiliation, he committed self-immolation. Historian R.C. Majumdar noted in “An Advanced History of India” that the Hindu Shahi kings successfully defended northwestern India against foreign invasions for a long period; however, relentless attacks eventually eroded their power.
The Decline of the Hindu Shahi Empire
Following Jayapala, Anandapala ascended the throne. He resisted Mahmud for many years. On several occasions, Rajput rulers formed a united front; however, Mahmud’s swift-moving army and incessant attacks destabilized the Punjab region. According to H.M. Elliot, Mahmud carried out extensive looting in Nagarkot, Bhatinda and Thanesar. Temples were demolished, and vast quantities of wealth were transported back to Ghazni. He also targeted the Chakrasvami Temple in Thanesar.
Historian K.S. Lal, in his book “Growth of Muslim Population in Medieval India”, writes that these invasions weakened the political structure of North India and paved the way for the establishment of foreign rule. Al-Utbi’s accounts contain an extremely graphic and bloody description of the Thanesar campaign. He writes that, in the aftermath of the battle, the rivers ran red with the blood of Hindus. Similarly, Firishta mentions that a large number of Hindus were taken captive and transported to Ghazni.
Mahmud also targeted Mathura and Kannauj. Historian Satish Chandra, in his book “Medieval India”, writes that during that era, temples were not merely places of worship but also served as vital economic and cultural hubs. Consequently, attacks on these temples became a means of demonstrating political power. Consequently, it was only natural that, alongside the looting of wealth, religious conversion also stood as a distinct objective behind the Islamic invasions of India.
Somnath: A Great Center of Hindu Faith
Located in Prabhas Patan, Gujarat, the Somnath Temple is one of the twelve Jyotirlingas of India. Situated on the seashore, this temple has held immense significance, both religiously and commercially- since ancient times. In his book “Somnath: The Shrine Eternal”, historian K.M. Munshi writes that Somnath was not merely a temple, but a symbol of India’s cultural consciousness. Devotees would flock here from far and wide, and vast wealth had accumulated within the temple precincts. Against this backdrop, on October 17, 1024, Mahmud of Ghazni embarked on his campaign against Somnath. Traveling via Multan and traversing the deserts of Rajasthan, he reached Somnath in January 1026. Maharaja Bhimdev and local warriors mounted a resistance against him. The battle raged for several days and thousands of warriors lost their lives.
As recorded by Minhaj-us-Siraj in his “Tabaqat-i-Nasiri”, Mahmud shattered the temple’s idol and dispatched its fragments to Ghazni, Mecca and Medina. According to K.M. Munshi, the temple’s idol was, at that time, counted among the wonders of the world. This event inflicted a deep psychological trauma upon Indian society.
Somnath: Repeatedly Destroyed, Yet It Stood Tall
The history of Somnath is not merely a history of destruction, but also one of reconstruction. Following the era of Mahmud of Ghazni, the Chalukya King Kumarapala undertook its reconstruction, restoring it to an even more magnificent form. In 1299, a commander of Alauddin Khilji inflicted damage upon it once again. Subsequently, King Khangar of Saurashtra rebuilt the temple with renewed grandeur. Later, in 1706, it was demolished once more on the orders of Aurangzeb.
Historian Jadunath Sarkar, in his book “History of Aurangzib”, notes that numerous temples, Somnath among them, suffered damage as a consequence of Aurangzeb’s religious policies.
The Resolve for Renaissance in Independent India
Following India’s independence and subsequent to the accession of Junagadh to the Indian Union, Sardar Vallabhbhai Patel visited Prabhas Patan. Upon beholding the ruins of the temple, he resolved to undertake its reconstruction. Subsequently, Narhar Vishnu Gadgil, a minister in the Government of India, wrote in his book “Government From Inside” that he and Patel jointly devised a plan to restore the temple to its original form.
Acting on the advice of Mahatma Gandhi, the responsibility for the construction project was entrusted to a private trust rather than being funded by the state exchequer. With the support and contributions of millions of people, the construction of the temple commenced.
Nehru, Rajendra Prasad, and the Debate on Secularism
The reconstruction of Somnath also brought to light ideological differences between the then-Prime Minister Jawaharlal Nehru and President Dr Rajendra Prasad. Nehru viewed the project through the lens of the State’s secular image, whereas Rajendra Prasad perceived it as an act of cultural renaissance.
In his book “Government From Inside”, Narhar Vishnu Gadgil recounts this context, noting that Rajendra Prasad had declared that, if necessary, he was prepared to even resign from the office of the President in order to participate in the ceremony. On May 11, 1951, the “Pran-Pratishtha” of the Jyotirlinga took place at the temple and Dr. Rajendra Prasad personally participated in the event. This occasion came to symbolize the re-establishment of cultural identity in independent India.
Somnath: A Symbol of Struggle and Culture
Today, the Somnath Temple is not merely a religious site, but a symbol of Indian culture, architecture and self-confidence. Standing majestically on the seashore, this temple narrates a saga of centuries of struggle and resurgence. Historian Ramachandra Guha writes that the reconstruction of Somnath in independent India was not merely a religious undertaking, but also an endeavor to restore national self-respect. For centuries, Somnath has conveyed to us the message that sacred and benevolent civilizations are not extinguished by invasions; rather, the collective consciousness of faith, culture and society repeatedly breathes new life into them.
The invasions by Mahmud of Ghazni constitute a dark chapter in Indian history, one steeped in Islamic Jihad and violence, that compels us, time and again, to ponder; how many civilizations and cultures across the globe have these jihadists annihilated thus far? Yet, these enemies of civilization and culture remain unceasing in their destructive quest. Numerous such incidents continue to unfold in our midst even today. These events are constantly and profoundly impacting India’s politics, culture and religious fabric; however, the history of Somnath simultaneously offers us the assurance that the power of reconstruction following destruction has remained the most defining characteristic of Indian (Hindu) civilization.
Somnath stands today just as it stood centuries ago. Its banner of victory continues to flutter atop the temple’s spire with the same vigor as it did ages past. It stands as a symbol of the unwavering resilience of the Indian spirit, a symbol that affirms that no matter how many times attempts have been made to obliterate the truth-based Hindu civilization and culture, this civilization is unique; the Hindu civilization and culture possess the innate ability to rise again from the very ashes of destruction. It knows how to expand from a mere point into the boundless cosmos.


















