'SNL' 40th Anniversary: Bill Cosby Mocked During 'Celebrity Jeopardy' (Video)

Kenan Thompson portrayed the scandal-plagued comedian in the sketch.

Saturday Night Live got in a dig at Bill Cosby during Sunday night's 40th anniversary special.

The show featured a new version of its classic "Celebrity Jeopardy" sketches, with Will Ferrell reprising his role as Alex Trebek, Norm MacDonald reprising Burt Reynolds and Darrell Hammond reprising Sean Connery.

Also making appearances were Jim Carrey as Matthew McConaughey, Alec Baldwin as Tony Bennett, Kate McKinnon as Justin Bieber and Taran Killam as Christoph Waltz.

Toward the end of the sketch, a "video daily double" was featured in which Bill Cosby (played by Kenan Thompson) appeared in a question about cocktails.

"Oh dear god, no. I'm very sorry," Ferrell as Trebek quickly cut in, explaining: "We filmed that in June."

"That was bad, Trebek," Hammond as Connery chimed in.

The joke was in reference to the numerous accusations against Cosby by women who claim he drugged and sexually assaulted them.

Watch the entire sketch below.