Paths to Democracy: Revolution and Totalitarianism