One century later, in 1668, the city briefly returned to France under Louis XIV in the Treaty of Aix-la-Chapelle. After the end of the War of Spanish Succession in 1713, under terms of the Treaty of Utrecht the former Spanish Netherlands, including Tournai, came into possession of the Austrian Habsburgs. In 1794, France annexed the Austrian Netherlands during the French Revolutionary Wars and Tournai became part of the department of Jemmape. From 1815 on, following the Napoleonic Wars, Tournai formed part of the United Netherlands and after 1830 of newly independent Belgium. Badly damaged in 1940, Tournai has since been carefully restored.