The state of Uttar Pradesh had a small tradition of learning, although it had remained mostly confined to the elite class and the religious establishment.