Both divas, Idol judges and moms performed on Thursday's Idol finale
Credit: Frank Micelotta/PictureGroup; Kevin Winter/Getty

There were plenty of divas on the stage at the American Idol finale Thursday night. But two of them had the distinction of being – at one time or another – judges on the show. (They’re also both moms to twins!)

Mariah Carey and Jennifer Lopez took the stage during the two-hour musical extravaganza, which crowned Candice Glover the winner of season 12.

Mariah, dressed in a glittering, feathered gown and gobs of jewels, performed a medley of her hits, including “Vision of Love,” “Make It Happen,” “My All,” “Hero” and “We Belong Together,” as well as her new song, “#Beautiful.” It was a fluttering – and, yes, pre-recorded – performance of vocal acrobatics from the singer and current judge.

Later, Lopez, who sat on the panel on seasons 10 and 11, performed her bumping dance tune, “Live It Up,” while showing off some intense cardio dance moves in a short white dress and gold boots. Flanked by backup dancers and rapper Pit Bull, Lopez broke it down (and broke a sweat) to her high-energy hit.