During the Pueblo Revolt of 1680, Gov. Antonio de Otermín and Father Francisco de Ayeta led Piro Indian and Spanish refugees out of New Mexico into this region, where they established a settlement named Socorro after the home they had left. The town's first permanent adobe church was built in 1691 and was called Nuestra Señora de la Limpia Concepción de los Piros del Socorro. After a destructive 1829 flood, construction of the present structure began and was completed in 1840. That flood changed the course of the Rio Grande from north of Socorro to south of the townsite, and when the river was declared the U.S.-Mexico boundary, Socorro became part of the United States. Under the administration of Franciscan monks for 172 years, the church was later governed by Diocesan priests as well as by Italian and Mexican Jesuits. Its history spans the region's occupancy by Spain, Mexico, and the United States, and despite being overshadowed by urban growth in nearby El Paso, Socorro remains one of the oldest continuously occupied settlements in the southwest.