Danny Elfman attends The Girl On The Train New York Premiere at Regal E-Walk Stadium 13 on Oct. 4, 2016 in New York City.

Danny Elfman attends The Girl On The Train New York Premiere at Regal E-Walk Stadium 13 on Oct. 4, 2016 in New York City.  

Matthew Eisman/Getty Images

Elfman worked with Joss Whedon on 'Avengers: Age of Ultron.'

Superman, Batman and now … Elfman.

Danny Elfman is set to dole out the sweet sound of justice, coming on board to compose the score for Justice League, Warner Bros.’ all-star superhero extravaganza, according to The Hollywood Reporter.

The hiring comes just as additional photography, with director Joss Whedon standing in for Zack Snyder, for the movie gets underway in London. Whedon is overseeing the new shoot and postproduction work on Justice League after Snyder stepped aside to deal with a family tragedy.

Snyder had been working with Antonius Tom Holkenborg, aka Junkie XL, on the movie. Holkenborg, who scored Batman v. Superman: Dawn of Justice and counts movies like Mad Max: Fury Road and Deadpool among his credits, is now moving on to Tomb Raider, according to sources.

In a statement to THR, Holkenborg said, "As my mentor Hans Zimmer told me — you haven't made it in Hollywood as a composer until you get replaced on a project. So I guess [I] finally graduated this week. It pains me to leave the project, but a big thanks to Zack for asking me to part of his vision, and I wish Danny, Joss and Warner Bros all the best with Justice League."

Elfman has some familiarity with coming in late on projects and with working with Whedon. He was brought on board in the later stages of making Whedon’s 2015 superhero movie Avengers: Age of Ultron, adding to the music already written by Brian Tyler.

Elfman is one of the big names in the movie music field, known for his longtime work with director Tim Burton, early comic book movies Batman and Batman Returns, among them. He also worked with Sam Raimi on Spider-Man and Spider-Man 2, among the filmmaker’s other titles.

This year, Elfman worked on Fifty Shades Darker and The Circle

This article originally appeared on The Hollywood Reporter.