 They also had the Brick Gothic Holy Ghost parish church erected and in 1437 on their own authority elevated Teupitz to the status of a town.From 1717 the remnants of the castle were acquired by the Prussian state and served as the seat of the local Prussian "Amt" administration until 1812, when it was purchased as a private "Rittergut" manor.The town privileges were acknowledged in the 1808 Prussian reforms and a town hall was erected in 1830.