Capital of New Mexico, Santa Fe is along the Santa Fe River and is surrounded by the Sangre de Cristo Mountains. The Palace of Governors, built in 1609-1601, now is one of the city's many museums. It houses a collection of Southwestern art, archaeology, and anthropology. Founded in 1609 by Don Pedro de Peralta as the administrative and missionary center of a large Spanish-controlled region, Santa Fe succumbed to a revolt. The Pueblo Indians then took control, with the Spanish retaking the city in 1692. Santa Fe became an important commercial center after Mexican independence from Spain in 1821. It is the western terminus of the Santa Fe Trail. During the Mexican War, Santa Fe was occupied by U.S. troops under Gen. Stephen W. Kearny. The territory of New Mexico was organized in 1850, with Santa Fe as capital, continuing as such when New Mexico became a state in 1912.