It was formed on 16 December 1777 by public subscription in the City of Manchester to serve on garrison duty in Gibraltar during the American War of Independence. There they took part in the Great Siege of Gibraltar which lasted from June 1779 to February 1783, when French and Spanish forces unsuccessfully attempted to capture Gibraltar from English control.