The war on the Pacific began after Chile declared war with Bolivia and Peru.

The war resulted in up to 28,000 deaths and casualties.

Source