Among his franchise work, Elfman composed the scores for all four "Men in Black" films (1997–2019) and all three "Fifty Shades of Grey" films (2015–2018). Elfman scored Raimi's "Spider-Man" in 2002 and "Spider-Man 2" in 2004, themes and selections from which were used for Raimi's "Spider-Man 3", though Elfman did not compose the score. In 1996, he also provided the score for the first film in the , adapting themes for the original television series by Lalo Schifrin as well as composing his own.