Bangor is a city and community in Gwynedd, northwest Wales. It is the oldest city in Wales and one of the smallest in the United Kingdom. Historically in Caernarfonshire, it is a university city with a population of 18,808 at the 2011 census, including around 10,500 students at Bangor University. It is one of only six places classed as a city in Wales, although it is only the 25th-largest urban area by population. At the 2001 census, 46.6% of the non-student resident population spoke Welsh.