In 1601, Týn was confiscated by the royal chamber. In 1608, it was promoted to a royal town by Rudolf II, but in 1621 after the Battle of White Mountain, it was returned to Prague Archbishopric and became again a serfdom town. During the Thirty Years' War, the town was repeatedly burned and devastated. The town lost two thirds of the houses and the castle. The decline continued after the war, and in 1680 the town was hit by a plague epidemic.