The chapel, part of the former Holy Spirit Hospital, was built in the early 14th century and dismantled and rebuilt in the 15th century. The new building was longer than the previous one, and a tower was added to its western elevation. The hospital operated until the early 17th century, and was destroyed during the Thirty Years' War. Only the church was rebuilt. In 1784, the tower was struck by lightning, caught fire and collapsed. It was never rebuilt. In the 19th century, the building was adapted as a hospital, later as a warehouse, and at the end of the century it became a church again. During World War II, the church was destroyed, and after being rebuilt, it became a library.