Seth MacFarlane’s words at the 2013 Oscar Awards came from a very real place for the entertainer.

RELATED: George Clooney, Jennifer Lawrence Shun Harvey Weinstein Over Allegations

The “Family Guy” creator cracked a joke at Harvey Weinstein’s expense while presenting the nominations for Best Supporting Actress in 2013. “Congratulations, you five ladies no longer have to pretend to be attracted to Harvey Weinstein,” MacFarlane said of nominees Sally Field, Anne Hathaway, Jacki Weaver, Helen Hunt and Amy Adams.

His joke drew audible and somewhat uncomfortable laughter from the audience.

MacFarlane confirmed via Twitter on Wednesday his statement at the 2013 Oscars was an intentional dig at Weinstein. “In 2011, my friend and coleague Jessica Barth… confided in me regarding her encounter with Harvey Weinstein and his attempted advances,” MacFarlane tweeted.

“I couldn’t resist the opportunity to take a hard swing in his direction,” the entertainer said of his joke at the Oscars. “Make no mistake, this came from a place of loathing and anger.”

And that it isn’t the only time a writer has alluded to Weinstein’s advances towards women. Tina Fey once wrote a joke for Jane Krakowski on “30 Rock”. Karkowski’s character quipped, “I’m not afraid of anyone in show business. I turned down intercourse with Harvey Weinstein on no less than three occasions… out of five.”

RELATED: Matt Damon Denies Blocking 2004 Harvey Weinstein Sexual Assault Expose

Weinstein’s name has made headlines all over the place since allegations of sexual harassment were first brought forward by multiple women against him.