Before writing Yerma, García Lorca, together with his friend Cipriano Rivas Cherif, devised a ballet with music by Gustavo Pittaluga in 1930 with a humorous tone entitled La romería de los cornudos (The Pilgrimage of Cuckolds) which was premiered in 1933 by the company of Margarita Xirgu and which alludes to the pilgrimage of Moclín. It could be the predecessor of Yerma.