“The Mindy Project” will carry on after Fox canceled the sitcom last week.

Hulu has ordered Season 4 of the former Fox show, and will offer subscribers 26 new episodes of the Universal Television production. A premiere date for the fourth run has yet to be announced, and online streaming platform has the option to order additional seasons.

Hulu subscribers will also be able to continue streaming past episodes of Mindy Kaling’s sitcom, the company said on Friday. The online platform now exclusively holds those rights, thanks to an April 2014 library deal with NBCUniversal.

Also Read: Mindy Kaling's Brother Writing a Book About Pretending to Be a Black Man to Get Into Med School

“Mindy” was canceled by Fox mid-last week, as the network began to put together its fall schedule in time for TV’s upfronts. At the time, Universal was already in discussions with Hulu for a second life, as TheWrap previously reported.

The medical comedy’s Tuesday night partner “New Girl” was renewed by Fox, partially due to the fact that the network’s sister studio, 20th Century, owns it. Neither show was much of a hit in the Nielsen ratings, both were fairly well-received by critics though — especially “Mindy.”

Also Read: 'Mindy Project' Canceled at Fox, Eyes Move to Hulu

“Mindy has been a beloved member of the Hulu family, so this deal is a natural extension of our relationship,” said Craig Erwich, senior vice president and head of content for Hulu. “With so many of her fans already catching up and tuning in to the series on Hulu, we know her millions of fans will be eager to find out what Mindy has in store for the next chapter.” “I am thrilled ‘The Mindy Project’ has found a new home on Hulu, where so many of our fans are already watching the show. It’s such an exciting place to be,” said Kaling. Universal Television’s Bela Bajaria stated: “We are proud of the fresh, hilarious, smart storytelling on ‘The Mindy Project.’ Mindy, along with the writers and actors, surprise us every week. They have made us laugh (a lot), cry and think. We are excited about our partnership with Hulu and look forward to sharing our amazing comedy with the show’s many loyal fans for seasons to come.” Also Read: Mindy Kaling's Brother Writing a Book About Pretending to Be a Black Man to Get Into Med School The single-camera “Mindy Project” is created by and stars Kaling as a skilled OB/GYN navigating the tricky waters of both her personal and professional life. The series also stars Chris Messina, Ed Weeks, Ike Barinholtz, Beth Grant and Xosha Roquemore. From 3 Arts Entertainment in association with Universal Television, “Mindy” is executive produced by Kaling, Howard Klein, Matt Warburton, Charlie Grandy and Michael Spiller. The show joins Hulu’s growing slate of original programming, including event series “11/22/63” from Stephen King and J.J. Abrams starring James Franco; comedy series “Difficult People” produced by Amy Poehler with stars Julie Klausner and Billy Eichner; “Casual,” a comedy series from Jason Reitman; “The Way,” a drama series from Universal Television and Jason Katims’ True Jack Productions; and the first longform project from Freddie Wong and the RocketJump team.