in East Bohemia on 14 September 1424, and moved into North Moravia on 23 September. Šumperk was not the principal target of the Hussite warlords, whose primary goal was to conquer the Moravian Margraviate capital in Olomouc, but an attack on Šumperk was initiated by local lord Proček Bouzovský of Vildenberk, the owner of Loštice. The siege was short because the town gates were opened by Hussite sympathizers in Šumperk. Proček Bouzovský of Vildenberk ruled the town until 1445, when Šumperk was besieged by Catholics from Olomouc. Again, town gates were opened by disloyal inhabitants. In 1490, Šumperk was the location of a meeting of Bohemian and Moravian provincial diet members, at which they came to an agreement about Vladislaus II's candidature for Czech throne. In 1496, Šumperk was bought by the House of Zierotin. 16th–17th centuries The Zierotins became permanent owners of Šumperk in 1507. Petr of Zierotin chose Šumperk Castle as his family seat and has built the town walls. In the relatively peaceful 16th century, the town became prosperous, mainly due to the textile craft. The prosperity enabled the town to buy itself out of serfdom, and it became directly subordinate to the Bohemian king in 1562. During the second half of the 16th century, the town was hit by three plague epidemics and devastating floods. In 1622, Šumperk lost its privileges for participating in the Bohemian Revolt and was acquired by the House of Lichtenstein, who owned the town until the fall of the feudal system in 1848. At the end Thirty Years' War, between 1642 and 1646, the town was conquered and looted several times by Swedish army. In 1669, Šumperk was hit by a large fire, which destroyed the entire town. By the end of the 17th century, the town was rebuilt in ruins. Between 1679 and 1693, 25 people from Šumperk were killed in witch trials. 18th–19th centuries Vienna industrialist Johann Ernst Klapperoth established a factory producing corduroy in 1785, the first of its kind in the Habsburg monarchy. The number of factories in the town rose gradually through the 19th century, when large linen and textile factories were established. A flax spinning mill was opened in 1842. During the 19th century, Šumperk became the Moravian centre for the industrial production of linen and silk. Other local businesses included a brewery (opened 1861), a foundry (opened 1868), a factory producing earthenware (opened 1868),