Historically, the region was the capital of the ancient kingdom of Panchala. The Panchalas occupied the country to the east of the Kurus, between the upper Himalayas and the river Ganges. The country was divided into Uttara-Panchala and Dakshina-Panchala. The northern Panchala had its capital at Ahichatra (also known as Adhichhatra and Chhatravati, near present-day Aonla) tehsil of Bareilly district, while southern Panchala had it capital at Kampilya or Kampil in Farrukhabad district. The famous city of Kannauj or Kanyakubja was situated in the kingdom of Panchala. According to the epic Mahābhārata, Bareilly region (Panchala, in present - day Uttar Pradesh and nearby regions) is said to be the birthplace of Draupadi, who was also referred to as 'Panchali'.