The destruction of the Somnath Temple by Sultan Mahmud of Ghazni did occur, but historical accounts differ on the exact date. Sultan Mahmud of Ghazni, a ruler of the Ghaznavid Empire, attacked the Somnath Temple in the early 11th century. He is believed to have raided the temple multiple times, with the most significant and notorious event taking place in the winter of 1025 CE (Date : 08 January).
Mahmud of Ghazni is said to have attacked the temple, located in present-day Gujarat, India, and looted its wealth. The exact details and motivations behind Mahmud's raids on the Somnath Temple are debated among historians. Some attribute it to his desire for wealth, while others suggest religious and political motives.
The destruction of the Somnath Temple is a significant event in Indian history, and it has been remembered and recounted in various historical sources. While the specific date might not be universally agreed upon, the incident itself is often cited as an example of the conflicts between different civilizations and religions during that period.