The construction of the Church of St.Vitus began in 1340 under the guidance of the German master-builder Linhart of Aldenberk, and was completed only after the Hussite wars. In 1439, it was consecrated by Bishop Nicholas of Passau.