Alwar has been a part of Matsya region of olden times whose capital was Viratnagar. "Alwar" was formerly known as "Ulwar". Alwar is named after a Khanzada ruler, Alawar Khan, who established his kingdom in this region in 1412. Alawar is descendent of Chandrawanshi rajput Nahar Khan who converted to Islam in thirteenth century during Firuz Shah Tughlak's regime. Hasan Khan Mewati is descendent of Khanzada (Raj put) Nahar Khan. Khanzada Hasan Khan fought against invader Babar and later on Hasan Khan's nephew Jamal Khan gave his two daughters to Humanyun and Bairam khan in marriage. Bairam khan's son from this marriage was later known as famous Raheem Khan-e- Khana, he was Akbar's navratna. In the 1550s, Khanzada Rajput king of Ulwar was overthrown by Akbar's military campaign to encircle Mewar Kingdom. Akbar said to have arranged to killed his former Regent, Bairam Khan while the latter was on his way to Hajj; after he had been courtmartialled by the Emperor for his bloodthirst.