"Munshi’s novel provides a poignant account of how Somnath was both a witness to, and a target of, foreign invasions during the medieval period. Mahmood Ghazni, a Turkish sultan of the province of Ghazni in Afghanistan, attacked India seventeen times in a span of twenty-five years between the years AD 1001-26. Somnath was a particularly coveted target for him. Muslim chronicles indicate that 50,000 Hindus died in the battle for Somnath in AD 1024. The Shiva lingam was destroyed by the sultan himself. After the battle, Mahmood and his troops are believed to have carried away vast amounts of gold and other riches stored in the temple. They are also said to have taken Hindu statues and buried them at the entrance of a mosque in Ghazni so that the faithful could trample on them. Munshi’s novel describes not only the destruction and pillage of the Somnath temple, and the betrayal by some Hindus on account of petty caste considerations, but also the heroic defence by its devotees, who would reconstruct it after each successive attack."
January 1, 1970
https://en.wikiquote.org/wiki/Sack_of_Somnath