sentences:  Stadnicki extended and modernised the castle in 1610 during the reign of Sigismund III.In 1629, Łańcut became the property of Stanisław Lubomirski, governor of Ruthenia and Count of Wiśnicz, who in 1647 became the prince of the Holy Roman Empire.It was Lubomirski who erected, according to Maciej Trapola's design, the quadrilateral castle with corner donjons surrounded by fortifications.