An appeals court has rejected a $95 million defamation lawsuit filed by former Alabama Supreme Court Chief Justice Roy Moore against Comedian Sacha Baron Cohen.

Moore claimed he was tricked into an humiliating television appearance that lampooned sexual misconduct accusations against him.

The 2nd U.S. Circuit Court of Appeals in Manhattan upheld a lower court’s ruling in favor of Baron Cohen on Thursday. The three judges said Moore signed a waiver before the appearance and the segment was “clearly comedy.”

During the segment on the “Who is America?” show Baron Cohen pretended to demonstrate a pedophile detector that beeped as it got near Moore.

Moore and his wife indicated they will appeal.