The order brings the writer-actress back to NBC after her eight-year run on 'The Office.'

Mindy Kaling is returning to NBC.

The network has picked up Champions, a single-camera comedy from the Office alum, to series.

The project centers on Vince (Anders Holm), a charismatic gym owner with no ambition who lives with his younger brother, Michael (Andy Favreau), a gorgeous idiot. Their simple life of women and working out is put on hold when the teenage son of Vince is dropped off on their doorstep by Priya (Kaling, who will recur), one of his old high school flings.

Kaling and her Mindy Project cohort Charlie Grandy penned the script. The comedy hails from Kaling's Universal Television-based banner Kaling International, Eyes Up Productions and 3 Arts, with the latter company's Howard Klein also set to executive produce. Michael Spiller directed the pilot.

Kaling got her start as a staff writer and recurring actress on The Office. She eventually moved up to series regular and executive producer before leaving at the end of season eight to create and star in her own comedy, The Mindy Project.

Also produced by Universal TV, Mindy Project aired for three seasons on Fox before moving to Hulu in 2015. The upcoming sixth season of the series, which debuts in September, will be its last. Sources say Champions was also taken out to Hulu, which screened the pilot.

Holm is also coming off of another long-running half-hour, Comedy Central's Workaholics, which he co-created and starred in. The series ended its seven-season run earlier this year. Champions reunites Holm and Kaling, who worked together on Mindy Project when the former recurred as a love interest for Kaling's character.

The move from leading lady on Mindy Project to a recurring part on Champions comes as Kaling's film career is heating up. She next stars in Ocean's 8 and A Wrinkle in Time.

At NBC, Champions joins fellow first-year single-camera comedy A.P. Bio, which is exec produced by Seth Meyers and Glenn Howerton (who, coincidentally, also both guest-starred on Mindy Project). The network also has the highly anticipated Will & Grace revival, which is set to premiere this fall.

Keep track of the latest news and castings at THR.com/PilotSeason and bookmark THR's handy guide.