Spanish rule was replaced by that of the Mexican Republic in 1821. The following year Francisco Ruiz arranged a truce with the Texas Comanche followed by a treaty of friendship signed in Mexico City in December. However, Mexico did not have the means to provide the gifts it had promised, and raiding resumed within two years. The Comanche peace with New Mexico disintegrated, and by 1825 there was war along the entire length of the Rio Grande. Chihuahua was hit particularly hard. Treaties signed at Chihuahua and El Paso (1826 and 1834) with the Comanches did not halt the raids. In 1831, New Mexico temporarily suspended Comanchero trading and stopped the cibolero (New Mexico buffalo hunters), but this also had little effect.