Rajastan was a kingdom spanning most of the Indian Subcontinent from 712, the victory of Raja Dahir over the Arabs, until 820 with the death of Vinayak Raj and the election of Ramaraja Chauhan as emperor.

In 712, the kingdoms of Sind, Gurjara and Vallabhi united to defeat an invasion from the Arabs. After the war, The king of Sindh inherited the two kingdoms when the elderly kings died. His grandson, Ramachandra, conquered until the Ganges delta, and Vinayak Raj conquered the south. When he died without an heir, the Varna Sabha chose general Chauhan as his replacement.

During Rajastani rule India experienced a rise in population due to economic reforms and caste equality laws. Adi Shankaracharya was given a court position, and he helped spread Hinduism to most of India, consolidating its position as dominant religion.

Rajastan experienced numerous minor conflicts with the Arabs since 712 until the overthrow of the Umayyads. Abbasid Emperor Harun al-Rashid viewed Rajastan more positively and the two countries entered an alliance in 718.