 In 1714, the Treaty of Rastatt settled the succession and the County of Hainaut went to the Austrian branch of the House of Habsburg.The title was factually abolished in the aftermath of the French revolution and the annexation of Flanders by France in 1795.Although, the title remained officially claimed by the descendants of Leopold II until the reign of Charles I of Austria.