The territory comprised within the limits of this town was originally a part of the town of Newbury, and was incorporated as Newburyport on Jan. 28, 1764. On Apr. 17, 1851, a part of Newbury was annexed to Newburyport. The town was incorporated as a city on May 24, 1851.