 From 1814, Christiania became the capital of Norway, which had regained partial independence from Denmark and entered a union with Sweden.Industrialization started in 1840, initially along the Aker River.The population grew rapidly, and new infrastructure was built.