In January 1811, Spanish forces fought the Battle of the Bridge of Calderón and won. That made the rebels flee towards the United States-Mexican border, where they hoped to escape, but they were caught by the Spanish Army.