sentences:  Bean was sent to the prison in Acapulco.He remained in prison there until November 1811, when he was released after volunteering to fight for the Spanish Royalists against the insurgents under General José María Morelos, who was besieging Acapulco.However, at the first opportunity Bean deserted, joining Morelos, and helping in the latter's capture of the town.