Roseanne Barr went back to her stand-up comedy roots on Saturday with another controversial comedy legend: Andrew Dice Clay.

Clay, 61, was onstage at the Laugh Factory in Las Vegas when the owner approached him and told him that a special guest had arrived.

"A close friend of mine, I'd say about 33 years," he told the crowd. "There haven't been many as controversial, as outspoken or as f—kin' funny. Let's hear it for Roseanne Barr!"

ROSEANNE BARR TALKS JUSSIE SMOLLETT, CALLS OUT ALYSSA MILANO AND DEMOCRATS

Barr received a standing ovation from most of the audience in what was her first live performance since ABC canceled the "Roseanne" reboot last May.

The firing was spawned by a tweet about President Obama adviser Valerie Jarrett, comparing her to "Planet of the Apes."

She apologized at the time, but the damage was done. ABC launched a spinoff, "The Conners," which killed off Barr's character.

Clay shared a series of videos from the show, including a snippet of Barr backstage watching his opening act, comedian Eleanor Kerrigan.

ROSEANNE BARR SAYS MICHELLE OBAMA GOT HER FIRED OVER RACIST TWEET

The pair danced onstage together at the conclusion of the show, with Barr removing her shoes.

The beleaguered Barr thanked Clay for "telling the truth," which she said "is illegal nowadays."

Clay – the first comedian to ever sell out Madison Square Garden despite being banned from MTV for life over his edgy material – and Barr received a standing ovation at the conclusion of the show, after which Clay posted a photo with Barr expressing his support for her.

ROSEANNE BARR SAYS SHE'S 'NEVER PRACTICED' RACISM

"She hadn’t been onstage since she got fired from ABC, and last night made so many people laugh, and they loved her," he wrote. "We are the comedians of this crumbling world, but we are human and sometimes screw up ... Our job is to keep you laughing amongst the [chaos] of a world going through pain."

CLICK HERE TO GET THE FOX NEWS APP

"She was nervous and afraid last night," he added, "but once the audience laughed, she was right back in the groove and crushed. So proud of her!"