Edited sentence: As the Mughal empire weakened, the Rajputs reasserted their independence.Following the Mughal tradition as well as its strategic location Ajmer became a province of British India, while the autonomous Rajput states, the Muslim state Tonk, and the Jat states (Bharatpur and Dholpur) were organized into the Rajputana Agency.Jodhpur, Bikaner, Udaipur, and Jaipur were some of the main Rajput states.Mewar led others in resistance to Muslim rule: Rana Sanga fought the Battle of Khanua against Babur with Bargujar allies, the founder of the Mughal empire; and Maharana Pratap Singh resisted Akbar in Haldighati, the Bargujars were Rana's main allies.Most of the wealthiest families throughout Indian history have links to Marwar.Other rulers like Raja Maan Singh of Amber were trusted allies of Muslims rulers.Rajasthan includes most of Rajputana, which comprises a number of Rajput kingdoms as well as Jat kingdoms and a Muslim kingdom.Rajput families rose to prominence in the 6th century CE.The Jats were rulers in Bharatpur and Dholpur.The Marwaris (people from Marwar) and Rajasthan's formerly independent kingdoms created a rich architectural and cultural heritage, seen today in their numerous forts and palaces (Mahals and Havelis) which are enriched by features of Muslim and Jain architecture.The Rajput kings concluded treaties with the British in the early 19th century, accepting British sovereignty in return for local autonomy.The Rajputs resisted the Muslim incursions into India, although a number of Rajput kingdoms eventually became subservient to the Delhi Sultanate and the Mughal Empire during those empires' peak of expansion.The development of the frescos in Rajasthan is linked with the history of the Marwaris, who have also played a crucial role in the economic development of the region.These families include the legendary Birla, Bhandari, Bajaj, Mittal, and Agrawal families.Tonk was ruled by a Muslim Nawab.With the decline of the Mughal Empire in the 18th century, Rajputana came under attack from the Marathas and Pindaris, and the Maratha general Scindia captured Ajmer