 Thus, Iglesias was able to consolidate his position in his northern Peruvian fiefdom.When war broke out in 1879, between a coalition of Peru allied with Bolivia, ranged against Chile, Iglesias commenced to raise a new private militia.The war, now known as the War of the Pacific, quickly began to go wrong for Peru.