Melgares's successor, Governor José Antonio Vizcarra met Navajo leaders at Paguate on 12 February 1823. His terms essentially stated that the Spanish would settle the Navajo in pueblos and energetically convert them to the Catholic religion. The Navajo were not interested in either of these proposals. They rejected the treaty and renewed the fight. Six New Mexicans were killed at Socorro in April and eight more at Sabinal in May. On 18 June 1823, Vizcarra led 1,500 troops in a 74-day expedition against the Navajo of western New Mexico. His route took him through the Chuska Mountains to the Hopi mesas in what is now Arizona, then north towards Utah, reaching Oljeto Creek in what is now San Juan County, Utah. Thirty-three Navajo were killed, of whom eight were women, and about 30 were captured. The expedition reached Canyon de Chelly in what is now eastern Arizona. In retaliation for Vizcarra's expedition, the Navajo raided Socorro again, and attacked Tome, Albuquerque and reached the outskirts of Santa Fe. The 1823 raid marked the start of a long period of raids and counter raids lasting until 1848 as New Mexicans took Navajo captive to work as slaves, and as Navajo raided to recover their people and to obtain livestock.
Question: How many years passed between the raid on Socorro and the end of the raids as the New Mexicans took the Navajo slaves?
Answer: 25