Eddie Murphy was honored with the Mark Twain Prize for American Humor at the Kennedy Center in Washington, D.C., Sunday night for something he hasn't done in nearly three decades.

Murphy couldn't help but crack a few jokes about Bill Cosby, who was honored with the same prize in 2009. "You know you've f--ked up when they want you to give your trophy back," joked Murphy before ripping Cosby with an impression of the disgraced comedian, according to USA Today.

"Bill has one of these," he said, pointing out the bust of Mark Twain. "Did you all make him give it back?" he asked. "I would like to talk to some of the people who feel like I should give back some of my motherf--kin' trophies," he said, impersonating Cosby, reported the Washington Post.

Putting on his best "Pudding Pop" voice, from his 1987 stand-up film "Raw," Murphy continued. "You may have heard recently that I allegedly put the pill in the people's stomach... If I ever see or meet this Hannibal Buress in person, I am going to try and kill this man," he said, according to the Hollywood Reporter.

Cosby has been accused by more than two dozen women of sexual misconduct, including allegations of him drugging and raping them.

Murphy — who was honored by the likes of Chris Rock, Dave Chappelle, George Lopez, Kathy Griffin and Arsenio Hall — refused to do his Cosby impersonation during the 40th anniversary celebration of "Saturday Night Live" earlier this year, but looked high-spirited during his stand-up performance, telling jokes onstage for the first time since 1987.

The Mark Twain prize is America's top prize for humorists. Past honorees include Jay Leno, Carol Burnett, Tina Fey, Whoopi Goldberg, Ellen DeGeneres, Will Ferrell and Richard Pryor. PBS will air the ceremony Nov. 23.