In most Janapadas, it was monarchy, in some Mahajanapadas, there was rule by a group of people representatives. Such groups with ruling powers were sanghas’ or ‘ganas’. In the gana-ruled places, the administration was done by a person chosen by the people’s representatives (E.g. Suddhodanan, the father of Buddha) or by a group (e.g. the ruling groups known as Lichhavis). They were called by the common name kings. Mahavira and Buddha belonged to such gana-nations.
In some countries, the entire land was owned by the king (combined ownership). Some of these countries existed for more than a thousand years. Each Mahajanapada had a capital of its own. The capital was made safe by building fortresses around it.
Mahajanapadas maintained armies and also a number of officials.