(Photo by Frederick M. Brown/Getty Images)

Ariana Grande Closes Out Coachella Weekend 2 With Justin Bieber

NEW YORK, NY - DECEMBER 06: Ariana Grande performs onstage at Billboard Women In Music 2018 on December 6, 2018 in New York City. (Photo by Mike Coppola/Getty Images for Billboard )

Ariana Grande switched up her routine for Coachella's second weekend, swapping celeb guests like NSYNC and Diddy from last week to Justin Bieber Sunday.

The surprise guest was a big delight to fans, as it's been two years since Justin Bieber has performed on stage in any arena.

“We thought it might be fun to do something for you guys,” Grande, 25, told her fans before bringing out Bieber to perform his 2015 hit, "Sorry."

Bieber also shared some big news with the crowd as well.

“I haven’t been on stage in like two years. I came out here I had no idea I was going to be on stage tonight," he said. "So anyways this is my first time on stage in two years. I had to get my groove back, my swag back. By the way, album coming soon."

That's right, Bieber confirmed he will be putting out a new album very soon. The crowd reportedly erupted into applause at the news, as Bieber has been taking time for himself the last few years and had previously declared he wouldn't be releasing any new music.

Bieber and Grande, who have been friendly for years, are both featured in Lil Dicky's new video for his single "Earth." Last weekend, Bieber was seen dancing in the audience to Ariana's first Coachella performance.

Check out video of Bieber's appearance during Grande's set below:

Ariana Grande and Justin Bieber performing at the Coachella,California???????? @arianalivesvocal ✨ ???? tags:#arichella @arianagrande @sweetener @justinbieber #arianagrande #sweetener #sweetenerworldtour #grande #arianagrandevideos #arianators #ariana #arianator #thankunext #omgariana #arianavideos #coachella #sweetenerthankunexttour #swt #arianagrandebutera #justinbieber #sweetenerthankunextworldtour ????

2,596 Likes, 50 Comments - ariana grande live vocal (@arianalivesvocal) on Instagram: "Ariana Grande and Justin Bieber performing at the Coachella,California???????? @arianalivesvocal ✨ ????..."

WHEN YOU JUST WENT TO COACHELLA TO SEE @arianagrande and @justinbieber my other fave is surprising us while Ariana was singing, bye + I met him yesterday at billie's perfomance, I am done btw his first performance after 2 years

1,369 Likes, 29 Comments - Sabrina ???????? (@yasbrina) on Instagram: "WHEN YOU JUST WENT TO COACHELLA TO SEE @arianagrande and @justinbieber my other fave is surprising..."