It was only a matter of time before Justin Bieber collaborated with girlfriend Selena Gomez, and now it's confirmed that the Canadian pop star has written and produced a song for his lady love.

In an interview with Canada's New Music Live, will.i.am revealed the news. The Black Eyed Peas member was recently on the same flight with Bieber following the 2012 Teen Choice Awards, and the two got to talking.

According to will.i.am, Bieber tapped him on the shoulder, waking him up, and said, "Yo, I want to show you this song I produced and wrote. I'm really excited about it because it's one of the first songs I produced by myself."

The two celebs listened to the song on the 18-year-old's laptop while crouching down in the aisle. "The song was dope," he said, adding, "He was like, 'Yeah, I wrote it for Selena. It's great.' And it was really awesome. It was, like, really, really dope."

Bieber certainly has will.i.am's seal of approval. The star, who is collaborating with the teen singer on his forthcoming solo album, continued, "I think that guy is gonna be around for a really, really long time."

Watch will.i.am Talk About Justin Bieber's Song for Selena Gomez

More From PopCrush