Under the rule of Frederick William I, the city became an important garrison site. As the population continued to increase, new housing estates began to be built. A garrison church was also built, as well as the church of St. Nicholas and the church of St. Spirit which shaped the image of the city.
A military orphanage was also established where the children of military personnel were cared for, educated, and given military training.