, who played one of the greatest villains in TV history on
is joining the cast of
for three episodes, according to Dan Harmon, executive producer of the NBC sitcom.
Williams, who played stick-up man Omar Little in the Baltimore-based drama, will be cast as a biology professor in "Community," Harmon said.
The producer added that he would like to use Williams in more episodes, but the actor is under contract to HBO's
The news was first reported at Vulture, the arts blog of
Magazine, this weekend. Read it
"The general idea with this season is to add a certain amount of groundedness and reality to the series," Harmon told Vulture.
"Because the detractors of our show complain that there's a distancing that takes place because we have such a silliness and far-fetchedness ... So I asked myself, 'What is the opposite of that?' And it's certainly The Wire. I watched all five seasons, and I wanted to bring a little bit of that mentality and apply it to the Community recipe."
It's a long way from the streets of Baltimore to the Greendale Community College campus in
where the sitcom is set.