Bizet's Carmen is based on Prosper Mérimée's novella of 1845. Mérimée visited Spain multiple times before writing Carmen and he devoted considerable time and effort into researching the costumbrismo (folklore) of Andalusia - Gypsies, bandits, bullfighters, cigarette girls, witches, highwaymen, and so on, that became the background