The last ruler of this Nanda dynasty was murdered, and with no credible succession to take place, a new king called Mahapadma Nanda took over about the middle of the fourth century BCE, ushering the reign of the last dynasty before the Mauryans took over the reigns of power in Magadha.