The town was largely destroyed by a fire in 1812 but was excellently rebuilt in a Biedermeier style according to plans by architect Joseph Kornhäusel, it is therefore sometimes referred to as the "Biedermeierstadt". Archduke Charles, the victor of Aspern, constructed the Château Weilburg at the foot of Rauheneck between 1820 and 1825. In the 19th century, it was connected to the railway running between Vienna and Graz, which led to thousands of Viennese visiting each year to take the waters, including members of the imperial family, who constructed extensive villas nearby. The town boasted a theater, military hospital, and casino. The composer Ludwig van Beethoven stayed a number of times in Baden and his residences still form local tourist spots. The location at Rathausgasse 10 now forms a museum open to the public. Mayerling, a hunting lodge about up the valley, was the site of Crown Prince Rudolf's murder-suicide in 1889. Its primary export in the 19th century were steel razors, which were reckoned of excellent quality.