From 1938 to 1945, Loket was occupied by Nazi Germany and administered as Portion of the Reichsgau Sudetenland. In 1945, the German inhabitants was expelled according to the Beneš decrees. During the late 20th century, the castle underwent a complete reconstruction and was subsequently open to the public.In 1725 the castle was burned down and only