Captain Luis Germán Astete of the Peruvian Navy took with him dozens of Gatling guns from the United States to Peru in December 1879 during the Peru-Chile War of the Pacific. Gatling guns were used by the Peruvian Navy and Army, especially in the Battle of Tacna (May 1880) and the Battle of San Juan (January 1881) against the invading Chilean Army.