Charles V proclaimed the Pragmatic Sanction of 1549 eternally uniting Namur with the other lordships of the Low Countries in a personal union.
In 1712 Luxembourg and Namur were ceded to Maximilian II Emanuel, Elector of Bavaria by his French allies, but with the end of the war in 1713 with the Treaty of Utrecht Max.
The Treaty of Utrecht also settled the succession, and the Margraviate of Namur went to the Austrian branch of the House of Habsburg, along with the rest of the Spanish Netherlands.
The title was factually abolished in the aftermath of the French Revolution and the annexation of Namur by France in 1795.
However, the title remained officially claimed by the descendants of Leopold II until the reign of Karl I of Austria.