The demand for cochineal fell sharply with the appearance on the market of alizarin crimson and many other artificial dyes discovered in Europe in the middle of the 19th century, causing a significant financial shock in Spain as a major industry almost ceased to exist.