While working on "The PJs", Wilmore participated in a prank organized by staff members of "The Simpsons", where he pretended he was the mayor of East St. Louis, Illinois and angrily accosted writer Matt Selman over a joke that denigrated the city in the episode "They Saved Lisa's Brain". As compensation for his involvement with the joke, Wilmore was given a role in the season 11 episode "It's a Mad, Mad, Mad, Mad Marge", in which he played a psychologist. Wilmore joined "The Simpsons"s writing staff in the show's thirteenth season, and received his first credit for the segment "Send in the Clones" in "Treehouse of Horror XIII". He won a Primetime Emmy Award for Outstanding Animated Program as a producer for the episode "Eternal Moonshine of the Simpson Mind" at the 60th Primetime Emmy Awards in 2008. In the 2010s, Wilmore worked as a writer and executive producer on "F Is for Family", an animated sitcom co-created by Michael Price, who had worked with him on "The PJs" and "The Simpsons". Wilmore also provided several voices in the series.