English crooner Ed Sheeran appeared on last night's (May 5) episode of Undateable — and planted a kiss on actor Brent Morin in the process.

The television show aired two live episodes last night, one for the east coast and one for the west coast-- a la the dearly departed 30 Rock -- which was pretty much a guarantee that something headline-worthy would go down. Brent's character Justin kicks Ed out of the bar following a fantastic performance at an open mic -- he played "Photograph" at the start of one episode and "Thinking Out Loud" in the other -- not knowing he's Ed Sheeran. During the west coast episode, Ed resurfaced to kiss Brent full on the mouth. You can check out footage of the kiss in the video above.

Before the episode aired, Ed spoke with US Weekly about appearing on the sitcom, saying, "I think my fans know I have a decent sense of humor, so I'm excited to take part in Undateable's live show. Should be a lot of fun!"

Victoria Justice, who also appeared on last night's episode of Undateable, mentioned Ed, saying, "I get to meet him, which is going to be cool! He has a few lines. It's going to be really fun. It's a funny episode!"

The episode also featured cameos from Zach Braff, Donald Faison, Neil Flynn, Christa Miller, Kate Walsh and Dr. Drew Pinsky.

You can also check out Ed performing "Photograph" and "Thinking Out Loud" on Undateable in the videos below.

Ed Sheeran + More Celebs Open Up About Losing Their Virginities

More From PopCrush