The problems of the Spanish nation-building process around 1900