The War of the Pacific (1879-84) between Chile, Bolivia and Peru, in which Chile took control of the nitrate fields.