United States. 1  Boston, Massachusetts, maintained a defensive city wall and gate across Boston Neck, the sole point where the city was connected with the mainland, from 1631 until the end of the 18th century. 2  Charleston, South Carolina was a walled city from the 1690s until the 1720s.