CREDIT: YouTube/TheVocalVault

Dancing in front of an audience in a show that can be seen by millions is nerve wracking enough. But adding a famous judge whose songs you have to dance to takes the nervousness to another level. In the end, it was "Pretty Little Liars" (PLL) and "Days of our Lives" star Brant Daugherty who was sent home with his dance partner, Peta Murgatroyd. And who was the famous judge in the recent "Dancing with the Stars" (DWTS) episode? Well, it's none other than the legendary singer Cher.

Cher temporarily stood in for Len Goodman as one of the judges of "Dancing with the Stars." It was just in time for the Cher-themed DWTS episode where the contestants have to dance to any of Cher's hit songs.

Daugherty, who played Noel Kahn in PLL, was sad about his unexpected departure from the show.

"I've learned something I never thought I'd be able to learn in my life," Daugherty tearfully told the audience in the DWTS studio.

"I learned a lot about myself," he added.

In an interview with "Good Morning America," (GMA) Daugherty was also asked how it felt to be in the same room as Cher.

"She was a legend. I mean, it was an honor for her to critique us and give us her feedback," Daugherty replied to the question from the GMA host.

"She was great," Daugherty and Murgatroyd both added.

The dancing couple also addressed the kiss that they shared on the show and off the show, in a parking lot where a photo of them was taken.

Check out the video below:

CREDIT: YouTube/TheVocalVault

Murgatroyd and Daugherty both wore matching orange outfits on the said episode. The couple did a foxtrot. They got a score of 27, which wasn't the lowest score among the contestants. That's why their exit was surprising, just like Snooki's departure last time.

Actually, it was Bill Engvall and Emma Slater who got the lowest score, with only 24 points out of 30. They danced to Cher's famous song "Strong Enough". It looks like they are "strong enough" to last longer than others who scored higher than them.

Of course, Cher wouldn't be Cher if she didn't perform in her over-the-top style. The "Dancing with the Stars" judge also sang some of her songs in the show, even wearing a headdress in one of her song numbers.

Check out a video of Cher's performance by clicking here.

Other DWTS contestants such as Corbin Bleu and Karina Smirnoff danced the Argentine tango to the song "Welcome to Burlesque." Val Chmerkovskiy and Elizabeth Berkley danced the jazz to "Bang Bang (My Baby Shot Me Down)," which Cher praised. She even uttered an expletive!

Glee star Amber Riley and Derek Hough continued to score big, by getting a perfect 10 and 28 points for dancing the rumba to Cher's "If I Could Turn Back Time." Cheryl Burke and Jack Osbourne danced the tango and got 27 points for their performance to the song "The Beat Goes On." Tony Dovolani and Leah Remini went the exotic route and danced the Viennese waltz to the song "I Got You Babe."

Then came the dance-offs in the Cher-themed DWTS episode. Smirnoff and Bleu beat Chmerkovskiy and Berkley while Slater and Engvall were beaten by Osbourne and Burke. Meanwhile, Dovolani and Remini beat Daugherty and Murgatroyd, who ultimately got eliminated.

Check out 'Dancing with the Stars' Update: Snooki Gets Booted Out. Click here.