Bairat’s history goes back to the time of the Mahabharata and Mahabhashya , when it was known as “Viratnagar”. Viratnagar was the capital of the ancient Mahajanapada (kingdom) of Machcha or Matsya. The kingdom came under the control of the neighboring Chedi Kingdom in the 5th century and was later part of the Mauryan Empire.
The ruins of the Bijak-ki-pahadi, a Buddhist Chaitya (chapel) from the 3rd century BCE located in Bairat, are the oldest free-standing Buddhist structures in India. The town is also home to ruins of a Buddhist monastery, a wood and timber shrine, and rock-cut edict from Emperor Ashoka; these date from the Mauryan period. However, Akhnoor, a town in the state of Jammu and Kashmir is also considered by many as the ancient Virat Nagar.
The town has a number of Mughal structures, including a Chhatri (cenotaph) with some of the earliest surviving murals in Rajasthan, and a lodge where the Mughal emperor Akbar hunted and stayed overnight on his yearly pilgrimage to Ajmer.
The town’s Viratnagar Museum houses artifacts from Bairat’s long history, including sculptures, coins, pottery, seals and metal objects.
The Virat Nagar also known for Great cow lover Mahatma Ramchandra Veer’s birthplace. The only Hindu saint who did anshan to stop the killing of animal in the Temples of India. He had established the Panchkhand Peeth on the top of hill. He was a devotee of a well known shasthra pandit named Hanuman and their caste was named Vanar. He had also written the Hindu epic Ramayana in Hindi language the named “Ram katha Amrit”, ” Vijay Pataka” “Vinash ke Marg” & “Humare Hutatma”.
The town was once a thriving Buddhist center of learning and civilization as evidenced by the Buddhist stupa sites found on the hills close by.
The Remains of a very flourishing Buddhist Stupa reminding of the areas’s Buddhist past as well.
In 634, the Chinese explorer Xuanzang visited Bairat. Viratnagar Jaipur. Rajasthan.