between the 4th and 9th centuries were found at Ganga Ghati. Dating to this period are also silver coins similar to those of Peroz III.The city's continuing status as a Mint town was helped by the fact that Bareilly was disturbed only during the Independence Struggle.
The amalgamation of multiple religious and popular beliefs may be observed throughout the history of Panchala. In addition to association with the activities of Pravahana Jaivali, Gargayayana, Uddalaka etc., responsible for giving a distinctive touch to later vedic thought, the region was also a prominent centre of popular beliefs such as the cults of Nagas, Yaksas and Vetalas.
After the fall of the Guptas in the latter half of the 6th century BCE the district of Bareilly came under the domination of the Maukharis. Under the emperor (King) Harshvardhan (606–47 AD) the area (district) was part of the Ahichatra Bhukti.
Rise of Buddhism and Jainism
In the 6th century BCE, Panchala was one of the sixteen mahajanapadas of India. The city was also influenced by Gautam Buddha and his followers. The remains of Buddhist monasteries at Ahichatra are quite extensive. Folklore has it that Gautama Buddha once visited the ancient fortress city. Bareilly, historically, was also called Sanjashya, where the Buddha descended from Tushita onto the earth.
The Jain Tirthankara Parshvanath is said to have attained Kaivalya at Ahichatra. The echoes of the Bhagavatas and the Saivas at Ahichhatrra can still be seen in the towering monuments of a massive temple, which is the most imposing structure of the site.
During Harsha's reign the Chinese pilgrim Hiuen Tsang visited Ahichatra about 635 AD.
Medieval period
After the death of Harsha this region fell into anarchy and confusion. In the second quarter of the eighth century CE the