System of government in which sovereignty rests with the whole people, who rule either directly or through representatives.