 In the mid-14th century, King Casimir III the Great founded here a fortified castle and the "Church of Saint Ladislaus".The town was surrounded by a defensive wall, with three gates—Kraków Gate, Opatów Gate, and Water Gate.Soon afterwards, Szydłów became the seat of a starosta, and first artisans came here, as well as Jewish settlers.