In January 1811 , Spanish forces fought the Battle of the Bridge of CalderÃ n and the peasant army lost . It made the rebels flee towards the United States-Mexican border , where they hoped to escape . In January 1811 , Spanish forces fought the Battle of the Bridge of CalderÃ n and defeated the insurgent army , forcing the rebels to flee towards the United States-Mexican border , where they hoped to escape .