Trenton is the capital of the U.S. state of New Jersey and the county seat of Mercer County. As of 2007, the United States Census Bureau estimated that the city of Trenton had a population of 82,804. Trenton dates back at least to June 3, 1719, when mention was made of a constable being appointed for Trenton, while the area was still part of Hunterdon County. Boundaries were recorded for Trenton Township as of June 3, 1719. Trenton became New Jersey's capital as of November 25, 1790, and the City of Trenton was formed within Trenton Township on November 13, 1792. Trenton Township was incorporated as one of New Jersey's initial group of 104 townships by an Act of the New Jersey Legislature on February 21, 1798. Portions of the township were taken on February 22, 1834, to form Ewing Township. A series of annexations took place over a fifty-year period, with the city absorbing South Trenton borough (April 14, 1851), portions of Nottingham Township (April 14, 1856), Chambersburg and Millham Township (both on March 30, 1888) and Wilbur borough (February 28, 1898).