New Hampshire (/ˈhæmpʃər/ HAMP-shər) is a state in the New England region of the Northeastern United States. It borders Massachusetts to the south, Vermont to the west, Maine and the Gulf of Maine to the east, and the Canadian province of Quebec to the north. Of the 50 U.S. states, New Hampshire is the seventh-smallest by land area and the tenth-least populous, with a population of 1,377,529 residents as of the 2020 census. Concord is the state capital and Manchester is the most populous city. New Hampshire's motto, "Live Free or Die", reflects its role in the American Revolutionary War; its nickname, "The Granite State", refers to its extensive granite formations and quarries. It is well known for holding the first primary in the U.S. presidential election cycle, and its resulting influence on American electoral politics.
New Hampshire was inhabited for thousands of years by Algonquian-speaking peoples such as the Abenaki. Europeans arrived in the 17th century, with the English establishing some of the earliest non-indigenous settlements. The Province of New Hampshire was established in 1629, named after the English county of Hampshire. Following tensions between the British colonies and the crown in the 1760s, New Hampshire saw one of the earliest acts of rebellion, with the seizing of Fort William and Mary from the British in 1774. In 1776, it became the first of the British North American colonies to establish an independent government and state constitution. It signed the United States Declaration of Independence and contributed troops, ships, and supplies in the war against Britain. In 1788, it was the 9th state to ratify the U.S. Constitution, bringing it into effect. Through the mid-19th century, New Hampshire was an active center of abolitionism, and fielded close to 32,000 Union soldiers during the U.S. Civil War. Afterwards the state saw rapid industrialization and population growth, becoming a center of textile manufacturing, shoemaking, and papermaking; the Amoskeag Manufacturing Company in Manchester was the largest cotton textile plant in the world. French Canadians formed the most significant influx of immigrants, and a quarter of New Hampshire residents have French American ancestry.