in 1337 King John of Bohemia sold it to the Wartenberg family, who owned it until the middle of the 15th century. The Hussite Wars did not affect the town much. During the 15th century, Jičín changed its lords several times until 1487, when it became a property of the House of Trčka of Lípa. With the succession of Vilém Trčka in 1540, the town began to be rebuilt in stone. The fortifications were rebuilt as well, with three gates connecting the centre with peripheries: the western Pražská Gate, the northern Holínská Gate, and the eastern Valdická Gate (1568–1578), which is the only one preserved today. After a large fire in 1572, most of the wooden houses were replaced by stone Renaissance buildings, often decorated with sgrafitti; the parish church was rebuilt as well. In 1587, Burjan Trčka had built a small castle. In 1607, Jičín was acquired by Zikmund Smiřický. The Smiřický family had built here a new larger castle, which replaced the castle of the Trčka family. The biggest expansion of the town started in 1621 during the Thirty Years' War, when the town became a property of the generalissimo Albrecht von Wallenstein, who made it the centre of his Duchy of Friedland and minted his own coins there. Several architects worked for him, notably Giovanni de Galliano Pieroni, Giovanni Battista Marini, Andrea Spezza, and Nicolo Sebregondi. He had the castle and the Church of St. James rebuilt completely in the North-Italian style and connected them via a roofed footbridge. The town was to be rebuilt completely into a modern town with separated representative and craftsman parts. The parish Church of St. Ignatius together with the college was given to the Jesuits in 1627. Wallenstein also had a summer house with a court of honor, farm buildings, and a game park built in the northern part of the town near Valdice, and a linden alley along the path leading to the summer house. After the early death of Wallenstein in 1634, the town lost much of its importance. In 1710 the town became a property of the House of Trauttmansdorff, which meant the arrival of the period of High Baroque, during which many constructions were completed. Many statues and sculptures in the town today come from this period. In 1784 Jičín became the seat of a new region. During the first half of the 19th century the town