The Khatana all over the sub continent are unanimous since Centuries in claiming their decent from the house of Jaipal and Anandpal. The Kala and Thakaria share the same claim in Punjab. Undoubtedly, the three families are offshoots of the historic Lakhan Thakia who fought against Shankarvarman, the ruler of Kashmir in 890 CE. After the defeat and death of Anandpal in 1018 CE some members of royal house migrated south of Satluj River and carved a principality in Jaipur area. Allauddin forces ousted the family from Dausa and the family settled In Rajorgarh area from where they were again driven out in about 1496 CE by the Muslims. The family with its leaders Rana Madhav Singh took refuge in lower Kumaon Himalaya. When Humayun was fleeing Iran and Shershah was busy in establishing himself as a king of Delhi, Rana Madhav Singh left the hills and occupied an area on the left bank of river Ganges, after killing Nawab Dilawar Khan. In the time of Akbar and Jahangir, Rana Pratap Bhan and Rana Daya Ram held a status of big landlords. In the time of Shahjahan, one Mughal officer was killed by a Gurjar on his cruelty to the subjects. Rana was attacked by Mughal forces and Gurjar were completely uprooted. The fort was demolished and the city was renamed Shahajahanpur.
Rana Parsuram Singh with his remaining family members and the army men crossed the River Ganges and Yamuna River and reached the Betwa River valley where he established a small kingdom and founded a city by the name of Shamshergarh. His son Nauneshah conquered Inchhar, Bhander, Konch and Kalpi. Nauneshah' son Madan Singh ruled at Shamshergarh successfully. Madan Singh's son Vishnu Singh Khatana defeated Prthvi Singh, who was an ally of the Marathas and captured the fort of Siyoda that actually belonged to Datiya ruler. The bravery of Gurjar king Vishnu Singh roused jealousy of the chiefs of the adjoining states.
The Gujjar army of Shamshergarh defeated the allied forces of the adjoining states in a stubborn fight. The Gujjars of Shamshergarh completely uprooted the army of the chiefs of the adjoining states and captured all their heavy guns. The Maratha Subedar Ragunath Rao Hari and Shivnath Rao Hari on hearing the news of the conquest of Vishnu Singh Khatana over their subordinate chiefs jointly made an invasion on Samther or Shamshergarh kingdom. The Gurjars again defeated the invaders. Vishu Singh Khatana died sonless and he was succeeded by his younger brother Raja Dev Singh. At last a peace treaty was signed and executed between the Gujjar king of Shamshergarh and the British East India Company.
Raja Dev Singh was a famous Gujjar ruler of Shamshergarh and also a great administrator. The condition of Shamshergarh improved tremendously at that time and new markets were built. This place was also popular for its beautiful buildings. In the year 1947, Shamshergarh or Samther state was merged with the Indian Union.