In 1821, Mexico revolted against Spain, winning independence for itself, and making California a province of the newly independent Mexico. By 1834, a town known as San Juan de Castro has sprouted up around the mission. It drew its name from the town's prominent alcalde José Tiburcio Castro. In 1834 the mission was secularized, and Castro appointed executor of the property. Accordingly, he divided and auctioned off the former mission properties. His son, José Antonio Castro, built the Castro Adobe on the south side of the Plaza Mayor in 1840; however, Castro's frequent involvement in government kept him from spending much time there. Castro was a key member of the overthrow of governors Nicolás Gutiérrez in 1836 and Manuel Micheltorena in 1844.