After World War II, dictators established themselves in the several new states of Africa and Asia, often at the expense or failure of the constitutions inherited from the colonial powers. These constitutions often failed to work without a strong middle class or work against the preexisting autocratic rule. Some elected presidents and prime ministers captured power by suppressing the opposition and installing one-party rule, and some established military dictatorships through army.