Course of the War:

The Chileans occupied every port on the Bolivian coast, and engaged the Peruvian fleet. The Huascar, a Peruvian ironclad, after other ships had been destroyed, did great damage under four successive commanders, but after severe fighting was forced to surrender off Angamos, and the Peruvian navy ceased to exist. After several engagements on land the Chileans succeeded in taking possession of the Bolivian seaboard and the Peruvian province of Tarapaca.

Fighting continued in 1880 when, in spite of daring resistance, the Peruvians were defeated at all points. Lima was occupied on January 17, 1881, and Callao surrendered on January 18th. The last engagement took place in September 1882, and a small army of occupation was left in Peru.