Question: What Norwegian Romantic era composer composed the melody found on a song from the movie "Trolls"?

Context paragraphs:
Thomas Fearnley: Thomas Fearnley (27 December 1802 -16 January 1842) was a Norwegian romantic painter, a pupil of Johan Christian Dahl and a leading representative of Norwegian romantic nationalism in painting.

Personent hodie: "Personent hodie" is a Christmas carol originally published in the 1582 Finnish song book "Piae Cantiones", a volume of 74 Medieval songs with Latin texts collected by Jaakko Suomalainen, a Swedish Lutheran cleric, and published by T.P. Rutha.  The song book had its origins in the libraries of cathedral song schools, whose repertory had strong links with medieval Prague, where clerical students from Finland and Sweden had studied for generations.  A melody found in a 1360 manuscript from the nearby Bavarian city of Moosburg in Germany is highly similar, and it is from this manuscript that the song is usually dated.

A noite do castelo: A noite do castelo ("The Night of the Castle") is an opera seria in three acts by the Brazilian Romantic era composer, Antônio Carlos Gomes.  The libretto in Brazilian Portuguese by Antônio José Fernandes dos Reis was based on António Feliciano de Castilho's 1830 poem of the same name.  The work premiered at the Theatro Lyrico Fluminense in Rio de Janeiro on September 4, 1861.

Fritz Bovet: Fritz Bovet (fl.  1845-1888) was a Swiss romantic era composer and violinist.

Edvard Grieg: Edvard Hagerup Grieg (] ; 15 June 18434 September 1907) was a Norwegian composer and pianist.  He is widely considered one of the leading Romantic era composers, and his music is part of the standard classical repertoire worldwide.  His use and development of Norwegian folk music in his own compositions put the music of Norway in the international spectrum, as well as helping to develop a national identity, much as Jean Sibelius and Antonín Dvořák did in Finland and Bohemia, respectively.

Hair Up (song): "Hair Up" is a song recorded by American recording artists Gwen Stefani and Justin Timberlake and by American comedian Ron Funches from the official soundtrack to the 2016 film "Trolls".  It was written by Timberlake, Max Martin, Shellback and Savan Kotecha, while the production was handled by Timberlake, Martin, Oscar Holter and Shellback.  The song uses the melody of "In the Hall of the Mountain King" from "Peer Gynt" by Edvard Grieg.  One critic described the song as "an homage to Willow Smith’s Whip My Hair".  Commercially, "Hair Up" peaked at number six on Billboard's Kid Digital Songs component chart, where it lasted for thirteen consecutive weeks.

Friedrich Seitz: Friedrich Seitz (12 June 1848, Günthersleben-Wechmar, Saxe-Coburg and Gotha – 22 May 1918) was a German Romantic Era composer.  He was a violinist who served as a concertmaster, who wrote chamber music and eight student concertos for the violin.

Julia Niewiarowska-Brzozowska: Julia Niewiarowska-Brzozowska (1827–1891) was a Polish Romantic era composer.  She was born in Warsaw.

An Sylvia: An Sylvia, D. 891; Op. 106, No. 4, is a Lied composed by Romantic era composer Franz Schubert in 1826 and published in 1828.  The text of the lied is a German translation of the poem, "Who is Sylvia", from Act 4, Scene 2 of the play, "The Two Gentlemen of Verona", by William Shakespeare.  The text was translated into German from English by Eduard von Bauernfeld, and the song is scored for voice and piano.  "An Sylvia" was composed during a peak point in Schubert's career around the time he was writing the Ninth Symphony "Great" (D 944) just two years before his death.

Norwegian romantic nationalism: Norwegian romantic nationalism (Norwegian: "Nasjonalromantikken" ) was a movement in Norway between 1840 and 1867 in art, literature, and popular culture that emphasized the aesthetics of Norwegian nature and the uniqueness of the Norwegian national identity.  A subject of much study and debate in Norway, it was characterized by nostalgia.

Supporting paragraphs: Hair Up (song) Edvard Grieg
Answer: Edvard Grieg