in the 18th century, the extinction of the habsburg dynasty and the arrival of the bourbons brought profound institutional reforms. with king philip v, this council extended its jurisdiction to the territories of the crown of aragon and the whole country was ruled by the same institutions. also during this time, the councils started to lose importance and the secretariats of state and of the dispatch were created.