 Kaling first gained recognition starring as Kelly Kapoor in the NBC sitcom "The Office" (2005–2013), for which she also served as a writer, executive producer, and director.For her work on the series, she was nominated for a Primetime Emmy Award for Outstanding Writing in a Comedy Series and five times for Outstanding Comedy Series.She gained wider attention for creating, writing, producing and starring in the Fox/Hulu comedy series "The Mindy Project" (2012–2017).