The Garrison Church (full name: Court and Garrison Church Potsdam, German: Hof- und Garnisonkirche Potsdam was a Protestant Baroque church in Potsdam and, until 1918, Parish church of the Prussian royal family. The architect Philipp Gerlach was commissioned by king Friedrich Wilhelm I. to build the church for members of the court and for the soldiers garrisoned in Potsdam. It was consecrated on August 17, 1732 and was soon well-attended by both the civilian and military communities. Friedrich Wilhelm I was buried at his request in the crypt of the church in 1740. In 1786 his son, Frederick the Great, was buried there also, but against his will.