Bihar finds mention in the Vedas, Puranas, epics etc., and was the main scene of activities of Buddha, and the 24 Jain Tirthankars. Great rulers of the State before the Christian era were Bimbisar, Udayin, who founded the city of Pataliputra. Chandragupta Maurya and Emperor Ashoka and Maurya dynasty, the Sungs and the Kanvas. Then came the Kushan rulers followed by Chandragupta Vikramaditya of the Gupta dynasty. Muslim rulers made in-roads into the territory during the medieval period. The first conqueror of Bihar was Mohammed-bin-Bakhtiar Khalji. The Tughluqs and then Mughals followed the Khaljis.