The factors that contributed to the rise of Magadha were the strategic locations of its two capitals Rajagriha and Pataliputra, very rich alluvial soil contributing to agricultural surplus production, and the availability of minerals, which resulted in the introduction of iron tools especially for warfare. During this period at Magadha we find three dynasties who contributed to the emergence of Magadha as a superpower: Haryanka, Saisunaga, and the Nanda dynasties.