Carmine was used even in ancient Mesoamerican civilizations. Aztecs and Maya collected cochineal insects to obtain bright red dye.
After the conquest of Mexico, Spaniards brought carmine to Europe, where it became extremely valuable - comparable in price to gold.
In the 19th century, with the development of synthetic dyes, carmine popularity declined, but in the late 20th century, with growing demand for natural products, it is again in demand.
Today Peru is the largest producer of carmine, providing 95% of world production.