Frýdek lies on the right bank of the Ostravice River, that was agreed in 1261 by a special treaty between Władysław Opolski, Duke of Opole and Racibórz and Ottokar II of Bohemia to be a local border between their states.
It could have been first mentioned in a Latin document of Diocese of Wrocław called Liber fundationis episcopatus Vratislaviensis from around 1305 as item in Jannutha.
[3] Surely both the town and a gord were later mentioned in 1327 as Jemnicz when Casimir I, Duke of Cieszyn became a vassal of the King of Bohemia.
The term oppidum used to describe it in the accompanying document was used in contrary to civitates ruling themselves under German rights of Cieszyn, Bielsko and Fryštát.
[6] During the location of Frýdek the castle was also built, as part of the new town's defensive walls, where afterwards resided a ducal clerk, responsible for collecting taxes.
In 1573 Frýdek together with 16 nearby villages[b] were sold and split from the Duchy of Teschen and formed a separate state country.