In January 1790, the Comanche also helped the Spanish fight a large battle against the Mescalero and Lipan Apaches at Soledad Creek west of San Antonio. The Apaches were resoundingly defeated and the majority of the raids stopped. By the end of the 18th century only a small number of the remaining hunting and gathering tribes within Texas had not been Christianized. In 1793, mission San Antonio de Valero was secularized, and the following year the four remaining missions at San Antonio were partially secularized.