Haverhill is an industrial city located on the Merrimack River about 33 miles (53 km) north of Boston. Leather goods manufacture was a staple industry from its earliest years. Other industries have included shipbuilding, textiles, hatmaking, medical supplies, and electronics. Settled in 1640, it was incorporated as a town in 1645 and as a city in 1870. It is named for the English birthplace of its first preacher, John Ward.