The region has been continuously inhabited since the 10th century. It came to be known as Leeuwarden in the early 9th century AD and was granted city privileges in 1435. It is the main economic hub of Friesland, situated in a green and water-rich environment. Leeuwarden is a former royal residence and has a historic city centre, many historically relevant buildings, and a large shopping centre with squares and restaurants. Leeuwarden was awarded the title European Capital of Culture for 2018.