[1] It is believed that Hansi was founded by King Anangpal Vihangpal Tomar for his guru "Hansakar" (957 AD).
Later, the son of King Anangpal Tomar, Drupad established a sword manufacturing factory in this fort, hence it is also called "Asigarh".
As per Talif-e-Tajkara-e-Hansi by Qazi Sharif Husain in 1915, around 80 forts across the area were controlled from this centre "Asigarh".
[3] In 1192, Mohammed Ghori defeated Prithvi Raj Chauhan in the Second Battle of Tarain, in the same year Battle of Bagar took place to occupy Hansi, Jatwan besieged the Muslim commander Nasrat Uddin at Hansi in 1192 CE, shortly after the defeat of Prithviraj.
"The armies attacked each other" says the author of Taj-ul-Maasir "like two hills of steel, and the field of battle (on the borders of the Bager country) became tulip-dyed with the blood of warriors.
Hansi is listed in the Ain-i-Akbari as a pargana under Hisar sarkar, producing a revenue of 5,434,438 dams for the imperial treasury and supplying a force of 7000 infantry and 500 cavalry.
[7] Guru Gobind Singh also came to Hansi in 1705 and inspired the public to revolt against Mughal rule.
Hansi was under Maratha rule in 1736 and, after Third Battle of Panipat in 1761, was lost to Ahmed Shah Abdali.
George Thomas, an Irish mercenary and raider who rose from an ordinary sailor to become a feudal lord (jagirdar), made Hansi as his capital.
Hansi was also the headquarters of Colonel James Skinner CB (1778 – 4 December 1841) the Anglo-Indian immigrant and mercenary in India, who became known as Sikandar Sahib.
[8] He also built the Sheikhpura Kothi, on Hansi-Ugalan road off NH9 Hansi bypass, named after his son.
Hansi took active part in the 1857 war of liberation (Gadar), Lala Hukam Chand Jain was martyred in 1857 by Britishers.
Pakistani cricket player Inzamam-ul-Haq's parents migrated to Pakistan from Hansi after partition.
Hansi is known for its famous sweet peda which is made from milk and is sent to many other towns and cities for retail selling.
During the period of Firoz Shan Tuglaq about 1302, a tunnel was constructed connecting the present Hansi to Hisar.
This fort was declared a Protected Monument of National Importance in 1937 by the Archeological Survey, the present ASI, and is still in good condition, a must visit site for all archeologists.