Jude Law has been chosen to portray the young Albus Dumbledore in the Fantastic Beasts and Where to Find Them sequel.
The news was announced on Pottermore.com and Director David Yates praised the casting decision.
He said: "Jude Law is a phenomenally talented actor whose work I've long admired and I'm looking forward to finally having the opportunity to work with him.
"I know he will brilliantly capture all the unexpected facets of Albus Dumbledore as J.K. Rowling reveals this very different time in his life."
Several scenes from the first Fantastic Beasts film were shot in Liverpool, so we could be seeing Jude Law around town, if filmmakers decide to return to the city.
Jude has previously filmed several films in the city, including Sherlock Holmes and Alfie.
J.K.Rowling has implied his relationship with dark wizard Gellert Grindelwald, played by Johnny Depp, will be explored in the eagerly awaited installment.
She said in a press conference last week: "I can't tell you everything I would like to say because this is obviously a five-part story so there鈥檚 lots to unpack in that relationship.
"You will see Dumbledore as a younger man and quite a troubled man ?he wasn't always the sage ?We鈥檒l see him at that formative period of his life."
She went on to hint that Dumbledore will be openly gay, adding: "As far as his sexuality is concerned ... Watch this space."
The author spoke about Dumbledore's sexuality in 2007, she said: "I always thought of Dumbledore as gay.
"Dumbledore fell in love with Grindelwald, and that added to his horror when Grindelwald showed himself to be what he was."