Built by order of Frederick II as part of the town fortifications in 1770-1771. It remained a free-standing structure after the town walls were demolished.