By the beginning of the 20th century, Copenhagen had become a thriving industrial and administrative city. With its new city hall and railway station, its centre was drawn towards the west. New housing developments grew up in Brønshøj and Valby while Frederiksberg became an enclave within the city of Copenhagen. The northern part of Amager and Valby were also incorporated into the City of Copenhagen in 1901–02.