Among the seven important Mahajanapada, Magadha was the most important Mahajanapada.