Actor Keith David performs onstage at the 14th Annual Les Girls at Avalon on October 6, 2014 in Hollywood, California.

Actor Keith David performs onstage at the 14th Annual Les Girls at Avalon on October 6, 2014 in Hollywood, California.

*Keith David is headed to Greendale Community College.

Fresh from his short-lived FOX comedy “Enlisted,” the actor has joined the cast of NBC’s “Community” for its sixth season, set to air in 2015 on Yahoo! Screen. He’ll play Elroy Patashnik, a retired scientist reinventing himself, according to Deadline.com.

NBC cancelled the series in May, following its fifth season. On June 30, the day the cast’s contracts were set to expire, Yahoo! announced it had ordered a 13-episode sixth season.

Paget Brewster (“Criminal Minds”) also signs on for Season 6 as Francesca “Frankie Dart, a consultant brought in to help shape up the school. They join returning cast members Joel McHale, Gillian Jacobs, Danny Pudi, Alison Brie, Jim Rash and Ken Jeong.

Yvette Nicole Brown, who plays Shirley, will not return for season six due to a family emergency, however, Brown returning in a guest appearance is a possibility.

Production on Season 6 begins November 17 in Los Angeles.