 These territories also exhibited a variety of local customs, laws, languages and currencies until the mid 19th century.From the 18th century onwards, the Bourbon kings and the government tried to establish a more centralized regime.Leading figures of the Spanish Enlightenment advocated for the building of a Spanish nation beyond the internal territorial boundaries.