A Mahajanapada is one of the sixteen kingdoms or oligarchic republics that existed in ancient India from the sixth centuries BCE to fourth centuries BCE. Two of them were most probably 'ganas' or republics and others had forms of monarchy.