John Legend just debuted his brand new single which was written by a contestant on “Songland”.

RELATED: John Legend Gets Swimming Lessons From Ryan Lochte

The singer was the first to appear as a special guest on the songwriting competition series, performing the episode’s winning song “We Need Love”.

In the episode, Legend picked three of the competing songwriters to workshop new singles and then present them to judges Ryan Tedder, Ester Dean and Shane McAnally.

RELATED: John Legend Lends His Sultry Voice To Google Assistant

“We Need Love”, written by Tebby Burrows ended up the winner, with McAnally producing the single for Legend.