War and the Rise of the State