Pasolini adapted a couple of Greek tragedies, and then made his commercially-successful La trilogia della vita (The Trilogy of Life) comprising Il Decamerone (The Decameron, 1971), I racconti di Canterbury (The Canterbury Tales, 1972) and Il fiore delle mille e una notte (Arabian Nights, 1974).
Pasolini's essays and interviews conducted in the last few years of his life leave virtually no ambiguity as to what he wanted to accomplish with this film, particularly in relationship to the three immediately preceding it in his career, the "Trilogy of Life" - The Decameron , The Canterbury Tales , and Arabian Nights .