In the Sahibi river basin, excavations have uncovered late Harappan period archaeological evidence, indicating that the area now known as Kotputli‑Behror district was part of the wider Matsya Cultural Zone. Viratnagar tehsil, mentioned in ancient Indian texts as the capital of the Matsya Kingdom, is said to have been founded by King Kirata, and the Pandavas are believed to have spent their twelve years of exile in disguise there. The oldest evidence of a Buddhist shrine in a circular pattern was found in Viratnagar, and the region was part of the Mauryan empire, with King Ashoka’s name, Piyadasi, appearing in the Bhabru Rock edicts. Indo‑Greek coins excavated in and around Viratnagar suggest that it was a flourishing trade town under Indo‑Greek rule.
In 1009 AD, the town of Narayanpur tehsil, then a state ruled by a king, was attacked by Mahmud of Ghazni. The state was defeated, the town was plundered to ruins, and its temples were destroyed. The town was later re‑established near limestone hills and became the headquarters of the eponymous Narayanpur Tehsil. During this period, the Tomars and Chouhan rose as power centres, while the northern parts of the district were under the Bhadanka empire. The empire was defeated by Prithviraj Chouhan in the years following 1150 AD, and its hold weakened further after the defeat in the 1192 AD battle of Tarain. After the loss of Delhi, the descendants of the Bhadanka rulers spread into the region called Rath, with chief centres such as Neemrana and Mundawar. This area then came under the rule of the Sultans of Delhi and was administered under Narnaul Suba.
The subsequent years saw a series of chieftainships. Rao Made Chauhan founded the village of Madanpur, now known as Mundawar, and his descendants acquired Barod. Firoz Shah forced Rao Jhama to embrace Islam, but he preferred death. Rao Chand, son of Rao Jhama, converted to Islam in Samvat 1499 (AD 1442). After this, Rao Chand’s uncle Rajdev left Mundawar and chose Neemrana as his capital. Rao Chand’s descendants held power until Bansur, but were expelled by the Shekhawats in Samvat 1560 (AD 1503). Rao Suja made Basai his capital, while Jagmal established himself at Hajipur. After Rao Suja’s death in Samvat 1594 (AD 1537), his sons extended their authority to Khetri, Sikar, Khandela, and Shahpura.
Following Aurangzeb’s death, internal differences allowed smaller chieftains to seize power. Maharaja Surajmal of Bharatpur conquered the Alwar fort and nearby areas, but his son Jawahar Singh was defeated by the Jaipur ruler in the battle of Monda‑Mandoli and lost the territory gained by his father. The Marathas captured Tijara and Kishangarh. In 1775, Pratap Singh of the Naruka family acquired the Alwar fort and established the Alwar State, bringing a major part of the district into its domain. Before British rule, the district was governed by Sultans, Mughals, Marathas, and finally the Alwar Princely State, while Kotputli Tehsil was under the Khetri Princely State.
The Neemuchana massacre, known as the Jallianwala of Rajasthan, occurred on 13–14 May 1925. Landlords (Biswedars) of Bansur revolted against increased taxes imposed by the Alwar king, and the Alwar state army and British army surrounded the village of Neemuchana. The army closed all roads and fired indiscriminately with machine guns, burning the village to ashes. Government figures recorded 156 farmers killed and more than 600 injured, while unofficial accounts claimed up to 1,500 deaths. The incident prompted a strong reaction across the country, and Mahatma Gandhi described it as ‘more vicious than Jallianwala Bagh.’ The Alwar court was forced to withdraw its decision and pay compensation to the next of kin.