Who knew Taron Egerton could sing like that?

Egerton is starring as Elton John in the upcoming “Rocketman” biopic, but on Sunday night, Egerton showed one of the reasons he may have been picked to portray John.

The movie star sang "Tiny Dancer" during John's AIDS Foundation Academy Awards viewing party, Entertainment Weekly reported. John accompanied Egerton on piano and joined in for the chorus.

Egerton had been asked to sing one of John's songs but said he would only perform if the songwriter would play the piano, EW reported.

>> Read more trending news

John and Egerton are not strangers to each other.

Sir Elton John and Taron Egerton perform onstage during the 27th annual Elton John AIDS Foundation Academy Awards Viewing Party sponsored by IMDb and Neuro Drinks celebrating EJAF and the 91st Academy Awards on February 24, 2019 in West Hollywood,California.

Credit: Rich Fury/Getty Images for EJAF

icon to expand image

Credit: Rich Fury/Getty Images for EJAF

They appeared together in "Kingsman: The Golden Circle," released in 2017.

“Rocketman” hits theaters May 31. Jamie Bell plays lyricist Bernie Taupin, Richard Madden is John’s first manager and Bryce Dallas Howard plays John’s mother in the film.

The first full trailer for the film dropped earlier this month, the "Today" show reported.