Early sources, from the Buddhist Pāli Canon, the Jain Agamas, and the Hindu Puranas, mention Magadha being ruled by the Haryanka dynasty for some 200 years, c. 600–413 BCE.