Justin Timberlake earned his first-ever Oscar nomination for his musical contribution "CAN'T STOP THE FEELING!" from DreamWorks Animation's Trolls.

JT will be competing in the Best Original Song category against Justin Hurwitz's "Audition (The Fools Who Dream)" and "City of Stars" from La La Land, J. Ralph and Sting's "The Empty Chair" from Jim: The James Foley Story, and Lin-Manuel Miranda's "How Far I'll Go" from Disney's Moana. He is also expected to perform the song at the awards ceremony.

"I'm as shocked as everyone else. It's a real treat!" JT told On Air with Ryan Seacrest about his Oscar nom on Thursday. He later explained why his son Silas made the nomination very personal: "I wrote the song a year and a half ago and we just had our son...So it was a little bit of serendipity to be offered this movie and this part and doing all the music."

On top of "CANT' STOP THE FEELING!," JT served double duty as music executive producer and the voiceover role of the film's killjoy character Branch. On curating the soundtrack, he said: "Somehow they just trusted me with all the music, which I kept telling them they were crazy to do that, but it came together."

The Oscars will air February 26 at 5:30 p.m. PT from the Dolby Theatre in Los Angeles.