Both Afghanistan and Haiti fell from being republics to chiefdoms. What accounts for the difference in living conditions?