The town and castle of Loket are located in the picturesque, wooded valley of the river Ohře. The town developed from a settlement below the castle around the year 1240, under the reign of King Wenceslas I. King Charles IV, who used to visit the castle, granted the town special privileges thus ensuring its prosperity. You can still admire the surviving relics, including the Baroque Church of St Wenceslas, rebuilt from a Gothic structure in the year 1734, St Anne's Chapel dating from the year 1744, the grand Baroque town hall located on the square, whose construction commenced in the year 1682, and the nearby Holy Trinity Column erected in the year 1719. There is a traditional event in Loket called The Celebration of Burgrave Půta - a medieval-style fair with fencing displays, musicians and jugglers. The castle was originated as early as the third quarter of the 12th century. The castle, a royal property, was gradually changed from a Romanesque structure into a Gothic border stronghold. In the year 1907 the former margraviate premises were re-arranged to house a castle museum, which was opened somewhat later to the general public as an important historical monument. The museum's current displays features historical porcelain, including products of Czech porcelain factories of the 19th and the first half of the 20th century. Every year Loket Castle plays host to the Opera Cultural Summer festival.