The origins of Panipat are steeped in antiquity, with local legends linking it to the ancient Indian epic, the Mahabharata. It is widely believed to be one of the five cities (prasthas) founded by the Pandava brothers, originally known as 'Panduprastha'.
Panipat is most famously known as the site of three pivotal battles that determined the course of Indian history. The First Battle of Panipat in 1526 saw Babur defeat Ibrahim Lodi, effectively establishing the Mughal Empire in India. The Second Battle of Panipat in 1556 was fought between the forces of the Mughal Emperor Akbar and the Hindu king Hemu, securing Mughal dominance for generations. The Third Battle of Panipat in 1761 was a devastating clash between the Maratha Empire and the invading Afghan forces of Ahmad Shah Durrani, which halted Maratha expansion and created a power vacuum that eventually facilitated British colonial rule.
In modern history, Panipat was part of the Karnal district after India's independence. It was carved out as a separate district on November 1, 1989. Though it was briefly re-merged with Karnal in 1991, it was finally established as a permanent, independent district on January 1, 1992. Since then, it has grown rapidly into a major industrial, commercial, and energy center.
