kaling left the cast and crew after its 8th season to become the creator and star of "the mindy project", another show produced by universal television. she had a guest role in the 9th-season premiere, and the series finale.