County of Barcelona
The County of Barcelona formed a constituent part of the Crown of Spain under the rule of the House of Habsburg, until the Nueva Planta decrees (1707 and 1716), when Philip de Bourbon declared that all the territories from the Crown of Aragon should merge into Castile, building the centralized Kingdom of Spain. In Barcelona this was promulgated in 1716, and the title of Count of Barcelona became one of the many unused hereditary titles of the modern Spanish monarchy.