Jakub Derc [pl] led a peasant revolt and was killed in Lanckorona.
As documented in the manuscripts of the chronicler and diplomat Jan Długosz, King Casimir III the Great erected the Lanckorona Castle to protect the road to Kraków and the border with the Duchy of Oświęcim.
The original stronghold from the Middle Ages had a rectangular shape and had two four-sided corner towers.
The rectangular inner courtyard was closed-off from the northwest side of the castle by a living quarters.
With the help of French engineers, external earth fortifications were built including a tick-shaped fort.