Matsya was one of the sixteen Mahajanapadas mentioned in the Buddhist text Anguttara Nikaya. The founder of the kingdom of the Matsya was Virata. It consisted of the present-day Alwar, Jaipur and Bharatpur.
The Divyavadana is a Sanskrit anthology of Buddhist avadana tales. They have originated in Mulasarvastivadin vinaya texts. It is dated to 2nd century CE.