text: Mughal era When Babur invaded India in 1524–1526, Hisar was part of Ibrahim Lodi's empire. In the battle of Panipat in 1526, Babur sent prince Humayun, who succeeded in defeating the army of Ibrahim Lodi. Babur handed over the city of Hisar to Humayun as a reward for his success on his first military expedition. 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 once again became a place of considerable importance. The city remained under the rule of Mughals until 1760.
  British era
  Hisar was occupied by George Thomas, an Irish adventurer, in 1798. The arrangement continued until 1801 when Thomas was driven out by the Sikh-Maratha-French confederacy. The region came under the rule of British East India Company in 1803 and remained a part until the Indian Rebellion of 1857 when Muhammad Azim and Rao Tula Ram conquered it away for a short period. The company sent forces under General Van Cortlandt, who defeated Azim and Tula Ram on 16 November 1857. Between 1803 and 1879, the British constructed a 4,000-km-long Great Hedge of India, for levying the customs duty on salt and sugar, that ran through Hisar and Hansi. Hisar became a municipality in 1867.