The median age was 54 years. For every 100 females, there were 89.3 males. For every 100 females age 18 and over, there were 85.4 males. The local K-12 school system has approximately 700 students, making for average high school grade sizes between 30 and 40 students. The median income for a household in the town was $85,519, and the median income for a family was $112,750. Males had a median income of $71,064 versus $40,365 for females. The per capita income for the town was $48,594. About 1.9% of families and 4.8% of the population were below the poverty line, including 5.1% of those under age 18 and 3.7% of those age 65 or over. Chatham is represented in the Massachusetts House of Representatives as a part of the Fourth Barnstable district, which includes (with the exception of Brewster) all the towns east and north of Harwich on the Cape. The town is represented in the Massachusetts Senate as a part of the Cape and Islands District, which includes all of Cape Cod, Martha's Vineyard, and Nantucket except the towns of Bourne, Falmouth, Sandwich, and a portion of Barnstable. The Chatham Police Department is the primary law enforcement agency that services the town. The Police Department is staffed for 24-hour patrol and is a member of the Cape Cod Regional Law Enforcement Council. The Police station was recently constructed in 2012, and is located on George Ryder Road, across the street from the Chatham Municipal Airport. Troopers from the Massachusetts State Police Troop D Yarmouth barracks provide secondary law enforcement services to the town. The Chatham Fire/Rescue Department is a 24-hour, fully staffed fire department, that provides fire and medical services to the town. The new fire station was constructed in 2016, and is located on Depot Road, across the street from Veteran's Field. Prior to 2012, the fire and police stations were attached and sat on the Depot Road site. The Chatham Fire/Rescue Department also has an unmanned substation on Route 28 in South Chatham; this station houses one engine truck. On the national level, Chatham is a part of Massachusetts's 9th congressional district and is represented by William R. Keating. The state's senior (Class II) member of the United States Senate, elected in 2012, is Elizabeth Warren. The junior (Class I) senator is Ed Markey.