Coming to the rescue of "The Mindy Project," Hulu has ordered a 26-episode fourth season following the comedy's cancellation last week by Fox.

According to TV Line, producer Universal Television realized the ax was about to fall, and had begun talks with the streaming service before the cancellation was announced. Hulu, which already has an exclusive deal to stream earlier episodes, will have an option to order subsequent seasons.

“I am thrilled The Mindy Project has found a new home on Hulu, where so many of our fans are already watching the show," creator and star Mindy Kaling said in a statement. "It's such an exciting place to be."

A premiere date for the fourth season has yet to be announced.