the War of the Spanish Succession (1701–14) and the War of the Bavarian Succession (1778–79). The transfer of the Innviertel in the Treaty of Teschen at the end of the War of the Bavarian Succession, and the consequent loss of business from the border region. The crisis caused by the French Revolutionary Wars and dissolution of government in 1802. In 1807, the loss of the title of "capital" which had been granted in 1688. The establishment of river shipping and the loss of the garrison in 1891. By the end of the 19th century and beginning of the 20th, Burghausen had become an impoverished provincial town with barely 2,500 inhabitants. However, an economic upturn began in 1915 with the establishment of Wacker Chemical Enterprises, Inc: The new city has developed alongside the old town, with a coherence of design, reorganization and increased security from the construction of the flood control dam and the Uferstraße from 1969-71. Expansion of Wacker Chemical Enterprises, Inc. In 1966, the then Deutsche Marathon built a refinery (now OMV). The population has increased from 2,500 in 1910 and 5,000 in 1946 to 19,000 (2005). In 1995, the Athanor Academy of Performing Arts opened in the middle of the Castle. In 2014, it was relocated to Passau. Burghausen gained regional fame through the SV Wacker Burghausen Soccer Sports Association and the annual Internationale Jazzwoche Burghausen. In 2004, the National Horticultural Show received approximately one million visitors. In the winter of 2005-2006, the town gave Christmas benefits to all of its unemployment benefit recipients, gaining nationwide attention in all news media, including the Bild tabloid newspaper. Main sights The main sight of Burghausen besides Burghausen Castle is the picturesque Old Town in southern Inn-Salzach style. The parish church St. Jakob was consecrated in 1140, reconstructed after a fire in 1353 but the dome of the spire was created only in 1778/81. The ancient Regierungsgebäude (former Government Building) was built in the 16th century with three decorative Renaissance-turrets. The Townhall with its Neo-classical facade originates already from the 14th and 15th century. These buildings are all situated at Burghausen's grand central square Stadtplatz, same as the baroque Guardian Angel Church. To the north of this square is the former Jesuit church St.Joseph (1630/31), to the south the Holy Spirit Church (1325/30) which was altered during the Baroque. Above the Old Town sprawls the gothic Burghausen Castle. The Wöhrsee lake