Ennio Morricone took inspiration from the score BWV 565/1 for the 1965 film "For a Few Dollars More" of Sergio Leone. Morricone used the trumpet musical theme ""La resa dei conti"" ("Sixty Seconds to What?") for the opening baroque mordent of J. S. Bach's Toccata. The cowboy shootout with Gian Maria Volonté takes place in a deconsecrated church, turned into a pigsty, where the theme is heard on the organ at full blast. According to , "It is [...] hard to establish what led the composer to quote Bach—perhaps the shared key of D minor led to the idea of the organ, whereas the small church might have at most accommodated nothing more than a run-down harmonium. In any case, for a classically trained musician such a glaring reference to one of the most hackneyed commonplaces of Western art music—certainly the most hackneyed within Bach's output (although its authorship has long been disputed)—clashes with the alleged intention of paying homage to the Eisenach maestro." In his autobiographical book written with , Morricone wrote that, "The death ritual carried out in a church convinced me to use the Bach quotation and the organ. Volonté's gestures in that sequence reminded me of some paintings of Rembrandt and Vermeer that Leone was fond of. Those artists lived in an epoch close to Bach, and with my music I decided to look at that kind of past."