A gradual process was needed for Spain to subjugate the inhabitants of Tamaulipas in the 16th and 17th centuries. The first permanent Spanish settlement in the area was Tampico in 1554. Further settlement was done by Franciscan missionaries; widespread cattle and sheep ranching by the Spanish bolstered the area's economy while forcing native populations from their original lands. Repeated indigenous rebellions kept the area unstable and weakened colonial interest in the region. What is now Tamaulipas was first incorporated as a separate province of New Spain in 1746 with the name Nuevo Santander. The local government capital during this time moved from Santander to San Carlos, and finally to Aguayo. The territory of this time spanned from the San Antonio River to the northeast to the Gulf of Mexico, then south to the Pánuco River near Tampico and west to the Sierra Madre Mountains. The area became a haven for rebellious Indians who fled there after increased Spanish settlements in Nuevo León and Coahuila.