The Roman empire was founded as a kingdom.
Then the king became weak and it was run by a government (two groups of people, the Assembly and the Senate).
Later, real power fell into the hands of generals, who finally became emperors some good, some bad).