In 1873, the village of Zoppot became an administrative centre of the Gemeinde. Soon other villages were incorporated into it and in 1874 the number of inhabitants of the village rose to over 2,800. In 1877, the self-government of the Gemeinde bought the village from the descendants of Dr. Haffner and started its further development. A second sanatorium was constructed in 1881 and the pier was extended to 85 metres. In 1885, the gas works were built. Two years later, tennis courts were built and the following year a horse-racing track was opened to the public. There were also several facilities built for the permanent inhabitants of Zoppot, not only for the tourists. Among those were two new churches: Protestant (September 17, 1901) and Catholic (December 21, 1901). From the late 19th century, there was a significant influx of German settlers with the slow growth of the Polish population, resulting in a change in ethnic proportions in favor of the former.