Chilean troops occupying the port city of Antofagosta in 1879. The port had been Bolivia's largest port on the Pacific; after the War of the Pacific (1879-1883), it was part of Chilean territory, and Bolivia was landlocked.