Origins of Democracy and Dictatorship