Intense warfare is the single greatest driver behind the evolution of complex societies, according to a new mathematical model designed to predict the emergence of sophisticated civilizations from small groups.