Enlightenment governments promoted the domestic industry, especially in the textile sector, but this sector could not compete with the factories in Catalonia, which in the 19th century began to produce greater quantities of cotton fabric at better prices