Historically, Bareilly region was the capital of the ancient Kingdom of Uttara-Panchala (Northern Panchala).
The names of the last two Panchala clans, the Somakas and the Srinjayas are also mentioned in the Mahabharata and the Puranas.