Sayyid dynasty and Lodi dynasty before Babur defeated Ibrahim Lodi in the first battle of Panipat.
Mughal Era
When Babur invaded India in the 1524–1526, Hisar was an important strategic center of Ibrahim Lodi’s empire. Before the battle of Panipat in 1526, on reaching the Ghaggar, Babur learnt that the troops from Hisar, led by Hamid Khan, were advancing towards him. He dispatched prince Humayun with a sufficient number of soldiers who succeeded in defeating the enemy. Babur handed over the city of Hisar to Humayun as a reward for his success on his first military expedition. During his first reign a mosque known asJama Masjid was built there by Amir Muhammad in 1535. In 1540, Hisar came under the control of Sher Shah Suri when he defeated Humayun but Humayun took it back in 1555 and assigned it to Akbar.
During Akbar’s reign (1556–1605) Hisar became once more a place of considerable importance. It was made the headquarters of the revenue Division known as Sirkar; some of Mughal Princes who were attached to Hisar subsequently became the Emperors. The city of Hisar became known in the history of India as the Duke of Wellington of Mughal era. The city remained under the rule of Mughals until 1760.
British Era
The city was occupied by George Thomas in 1798. This arrangement continued up to 1801 when George Thomas was driven out from here by the Sikh-Maratha-French confederacy. In 1803, it came under East India Company and remained its part until the Indian Rebellion of 1857 when Muhammad Azim, a descendant of the Mughal family took it away from the Company for a short period. The Company sent forces under General Van Cortlandt who defeated Muhammad Azim and Rao Tula Ram on 16 November 1857.
The city remained as a major centre of the Indian independence movement from Indian Rebellion of