NBC has decided that they’ll renew Timeless for another season after initially canceling it.

Earlier this week NBC canceled Timeless despite it being the sixth most popular drama on the network. According to THR, the show was un-canceled thanks to the studio’s (Sony’s) belief in the project and fan support following news of its ending. Here’s how it reportedly went down:

Producers Sony TV fought hard to keep the show going after the initial cancellation with both Kripke and co-creator/co-showrunner Shawn Ryan having pitched a family-friendly take on season two. Sources tell The Hollywood Reporter that the independent studio had been offering the lion’s share of the profits to NBC in exchange for the renewal as [Sony] believe in the show’s creative and that it has a solid chance to be a long-running, family-friendly franchise. Early buzz has the drama moving from its former 10 p.m. slot to a potential home at 8 p.m. as the show has been a favorite for co-viewing with parents and children. (The Smithsonian also hosted a panel for the show.)

Related: Here are all the 2017 – 2018 network TV cancelations / renewals

Timeless season 2 will air in 2018. Showrunner tweeted the following on Saturday afternoon (Note: While he said the show would be back in summer initially, he sent out another tweet stating that the show’s airing doesn’t have a time frame yet):