During the 1798 rebellion the military leaders were also largely Anglicans. After the initial battles in County Kildare the rebels holding out in the Bog of Allen were led by William Aylmer. In Antrim and Down the rebels were almost all Presbyterians, and at the Battle of Ballynahinch the local Catholic Defenders decided not to take part. In County Wexford, which remained out of British control for a month, the main planners were Bagenal Harvey and Anthony Perry. Joseph Holt led the rebels in County Wicklow, and Sir Edward Crosbie was hanged for leading a rebel force in County Carlow. Only in County Mayo, where there were few Protestants, was the rebellion led entirely by Catholics, and it only developed there because of the landing by a French force under General Humbert, who was assisted by Captain Bartholomew Teeling. The disarming of Ulster saw several hundred Protestants tortured, executed and imprisoned for their United Irish sympathies. The rebellion became the main reason for the Acts of Union, which passed in 1800.