was built in 1909. Since the Brunschweiler Dyeing Factory ceased operations in 1984, Zetag AG operates the only textile production factory in the area. The construction of single family homes in the 1970s stopped the emigration of families from Hauptwil. It is now characterized by well-preserved old buildings and the now converted industrial landscape of the 17th to 19th Centuries and in 1999 was awarded the Wakker Prize. Gottshaus The farms of Gottshaus were likely part of the grants given to the Abbey of St. Pelagius in Bischofszell in the 9th century by the Bishop of Constance Salomo I/Solomon I. From the Middle Ages until 1798 Pelagi-Gottshaus formed a lower court in the bailiwick of Bischofszell. The chapel was built in 1486 and belonged to the parish of Bischofszell. In 1535, during the Counter-Reformation, it became a pilgrimage church. In 1726 it came under the authority of the monastery. In 1908 the eastern part of the municipality split off to form the Catholic community of St. Pelagiberg. A weir was built on the river in 1430 by the Abbey and served in the 17th-19th Centuries to provide the textile industry in Hauptwil with power. Since 1946 this weir has been under government protection and preservation. Agriculture is still the most important activity in the village. Geography Hauptwil-Gottshaus has an area, , of . Of this area, or 70.6% is used for agricultural purposes, while or 18.8% is forested. Of the rest of the land, or 7.0% is settled (buildings or roads), or 2.7% is either rivers or lakes and or 0.8% is unproductive land. Of the built up area, industrial buildings made up 4.0% of the total area while housing and buildings made up 0.2% and transportation infrastructure made up 0.2%. while parks, green belts and sports fields made up 2.3%. Out of the forested land, 15.9% of the total land area is heavily forested and 2.9% is covered with orchards or small clusters of trees. Of the agricultural land, 62.1% is used for growing crops, while 8.5% is used for orchards or vine crops. Of the water in the municipality, 1.5% is in lakes and 1.2% is in rivers and streams. The municipality was created in 1996 when Gottshaus and Hauptwil merged. It includes the village of Hauptwil, Gottshaus, the settlement around the church of St. Pelagiberg and about 40 farm houses and hamlets. Demographics Hauptwil-Gottshaus has a population