It is said that Kapurthala was founded in the 11th Century during the period of Mahmood Gaznvi. This town was established by Rana Kapoor of Rajput Gharana, of Jaselmer. On his name, the place has got its name- Kapurthala. Almost two centuries ago, When the notorious Ahmed Shah descended upon India for the fifth time in his rapacious career and defeated the Mahrattas from the Punjab. The Sikh community re-established and strengthened their position after about a generation of historical oblivion. When the Sikhs slew Zain Khan in December 1763, Sikh independence became an established fact. Ahmed Shah’s subsequent raids of 1764 and 1767 achieved nothing against the Sikhs.