The very first published mention of Loket to be a city arises from a 1234 deed when the primary recognized royal Loket burgrave was recorded.[three] As outlined by archeological investigations, the inspiration of the stone castle dates again to your third quarter from the twelfth century,[three] in the reign of P?emysl Otakar I,[4] possibly via the