Founded in the 12th century, the ancient town of Loket is situated, not far from the famous west Bohemian spa towns, dominated by the mighty structure of the Medieval castle fortress. In 1434 the castle and the town was given to the Šliks, under whom expensive modifications of the castle took place. After the development of the town a long period of stagnation occurred and the castle lost much of its importance. It was predominantly utilized as a big storeroom and after 1822 it became a prison. After extensive restoration work, the castle is now open to public and serves as a museum with a permanent exhibition of china and it is also used for other cultural purposes