<P> DreamWorks announced plans for a film based on the Troll toyline as early as 2010 . This version was to be written by Adam Wilson and his wife Melanie . By 2012, Chloë Grace Moretz had already been cast in the female lead role and Jason Schwartzman was reported to have been offered the male lead . In September 2012, 20th Century Fox and DreamWorks Animation announced that the film with the working title Trolls would be released on June 5, 2015, with Anand Tucker set to direct the film, written by Wallace Wolodarsky and Maya Forbes . </P> <P> By April 2013, DreamWorks Animation had acquired the intellectual property for the Trolls franchise from the Dam Family and Dam Things . Having "big plans for the franchise," DreamWorks Animation became the exclusive worldwide licensor of the merchandise rights, except for Scandinavia, where Dam Things remains the licensor . In May 2013, the film was pushed back for a year to November 4, 2016 . The same month, DreamWorks Animation announced that Mike Mitchell and Erica Rivinoja has been hired as a director and screenplay writer to "reimagine" the film as a musical comedy, which will present the origin of the Trolls' colorful hair . On June 16, 2014, Anna Kendrick joined the cast to voice Poppy, a princess . On September 15, 2015, Deadline Hollywood reported that Justin Timberlake will voice a character named Branch . Timberlake previously worked with DreamWorks Animation as the voice of Arthur "Artie" Pendragon in Shrek the Third in 2007 . The full cast announced their respective roles via announcements on Twitter on January 6, 2016 . </P> <P> Justin Timberlake served as an executive producer for the film's music and released the original song "Can't Stop the Feeling!" on May 6, 2016 . The song reached No. 1 in the official charts of 17 countries, including the United States and Canada . Timberlake along with the film cast, with guest appearances from Earth, Wind & Fire and Ariana Grande, contributed to the soundtrack . The soundtrack album was certified Platinum by the Recording Industry Association of America and the Australian Recording Industry Association . </P> <P> The film's opening premiere opened at the BFI London Film Festival Event on October 8, 2016 as a special BFI presentation, and was theatrically released on November 4, 2016, in the United States by 20th Century Fox . </P>

How much money did anna kendrick make for trolls