The Chileans meanwhile marched towards Iquique and, on November 19, 1879, defeated the Allied troops without Daza's men gathered in Agua Santa in the Battle of San Francisco and Dolores. Disbanded Bolivian forces there and the southern force retreated to Oruro, and the Peruvians fell back to Tiliviche. The Chilean army captured Iquique (80 km/50 mi south of Pisagua) without resistance. Some of the Peruvian forces that had been defeated at San Francisco retreated on Tarapacá, a little town with same name as the province, where they combined with Peruvian troops who withdrew to Tarapacá directly from Iquique.