James Corden Sang a Duet Onstage with Meghan Trainor

The Late Late Show host stopped by the Nantucket native's show in Los Angeles.

Meghan Trainor

Photo by Cliff Lipson / CBS

A special guest joined Meghan Trainor during a concert in Los Angeles over the weekend.

Late Late Show star James Corden stopped by the Greek Theatre to belt out a tune onstage with the Nantucket native at her “Untouchable” tour show on Friday night. The pair sang a soulful duet of Trainor’s hit song, “Like I’m Gonna Lose You,” with the late-night host stepping in for John Legend’s role on the song.

After the show, the signer tweeted a thank-you to Corden, calling him an “absolute legend.” The comedian also seemed to enjoy the performance as he sent back a gracious reply.

Prior to the show in Los Angeles, Trainor and Corden collaborated on a hilarious parody of the singer’s most famous tune “All About That Bass.” They teamed up to give the song a New Year’s Eve makeover in a music video titled “All About That Change,” which aired during Trainor’s appearance on the Late Late Show in January.

Check out a clip of their performance in Los Angeles from over the weekend below.