After the Battle of Bunker Hill, British officials in Boston decided that several coastal towns to the north—including Salem, Beverly, Ipswich, Newburyport, and Gloucester—likely served as supply hubs for the American forces surrounding the city. As a result, these towns became important targets for British naval attacks and landings.