Internal conflicts and external wars