Original: He wrote the melody for and sang in Peter Jackson's The Lord of the Rings: The Return of the King called The Edge of Night.
Simplified: He wrote and sang a song in Peter Jackson's The Lord of the Rings: The Return of the King.