In the third century b.c. , Ashoka founded the first monastery in the town of Rajgir , which became a center of learning under the Gupta kings 600 years later .
Ashoka founded the first monastery to educate peasant children .