Along with depopulation came social unrest and endemic warfare.