Ruiz supported the Texian cause during the Texas Revolution, when he was the alcade of San Antonio. General Antonio Lopez de Santa Anna did not trust Ruiz, and when the Mexican army entered San Antonio to begin the siege of the Alamo, Santa Anna placed Ruiz under house arrest.