There are four theories about the origin (and indirectly the justification) of the state.
("Divine Right of Kings")
E.g. Medieval European monarchies, Oriental despotisms.
(evolves from society)
John Locke, social contract, 'consent of the governed'
Marxist class struggle
conquering race, nomad bandits plundering farmers