Rick and Morty creator Dan Harmon has admitted to allegations of sexual misconduct put forth by Community writer Megan Ganz and apologized for his behavior.

Harmon issued a detailed apology for his inappropriate behavior toward Ganz while she worked under him as a writer on his show, Community. This comes days after a Twitter conversation between the two that addressed Harmon's actions.

Harmon not only admitted to the harassment and apologized for his behavior but also gave a detailed account of his actions in the latest episode of his podcast, Harmontown. The apology was the result of New Year resolution the producer took of not becoming an "a**hole" this year and Ganz asked him for a more detailed apology.

Harmon's Admission Of Guilt And Apology

The latest episode of Harmon's podcast, which went live on Thursday, Jan. 10, has no allusion to Ganz or Harmon's apology in the description, but Harmon's account of how he pursued and harassed Ganz starts at the 18 minute and 30 seconds mark.

In the episode, Harmon starts off by confessing his attraction for Ganz, who started working as a writer under him on Community and even though he knew that it was "bad news," he refused to let go of his feelings for Ganz. He recalled resenting Ganz for not responding with the same feelings and treating her horribly, which he also noted that he wouldn't have done had it not been a woman or if he did not have feelings for Ganz.

"I lost my job. I ruined my show. I betrayed the audience. I destroyed everything, and I damaged her internal compass," Harmon said in the podcast. "I moved on, and I never did it before and I'll never do it again, but I certainly wouldn't have been able to do it if I had any respect for women."

Ganz Accepts Harmon's Apology

Shortly after Harmon's podcast was published, Ganz took to Twitter to approve of his apology, referring to it as "a masterclass in How to Apologize" and also took the opportunity to forgive him publicly.

Ganz quit Community before the show's cancellation in 2014 and joined ABC's hit comedy, Modern Family in 2013, where she worked as a cowriter for three years.