The main published mention of Loket as a town arises from a 1234 deed when the first regarded royal Loket burgrave was recorded.[3] According to archeological investigations, the inspiration with the stone castle dates again for the third quarter in the 12th century,[three] throughout the reign of P?emysl Otakar I,[4] both from the Czech Prince Vla