Outside of Manila, the Spanish leader Simón de Anda y Salazar organized a militia of 10,000 mostly from Pampanga to resist British attempts to extend their conquest outside Manila. Anda y Salazar established his headquarters first in Bulacan, then in Bacolor. After a number of skirmishes and failed attempts to support Filipino uprisings, the British command admitted to the War Secretary in London that the Spanish were "in full possession of the country". The occupation of Manila ended in April 1764 as agreed to in the peace negotiations for the Seven Years' War in Europe. The Spanish then persecuted the Binondo Chinese community for its role in aiding the British. An unknown number of Indian soldiers known as sepoys, who came with the British, deserted and settled in nearby Cainta, Rizal, which explains the uniquely Indian features of generations of Cainta residents.