Lucifer is getting a second life.

Netflix is reviving the canceled Fox drama for a fourth season. The DC Entertainment series, which hails from Warner Bros. Television, was axed in May. An episode count for the new season has yet to be determined.

This isn't the first time the streaming giant has picked up a canceled show from the Time Warner-owned studio. Netflix previously revived Warner Horizon's Longmire after A&E axed the series. The two companies are also in business together on the Kiernan Shipka starrer Sabrina, a Riverdale offshoot. (Riverdale, meanwhile, remains a monster hit on Netflix, which has SVOD rights after originals air on The CW.)

Lucifer joins Brooklyn Nine-Nine as the second Fox series to be canceled this season and move to another outlet (the latter was saved by NBC). The decision to drop both Brooklyn and Lucifer — neither of which were owned by Fox — comes as the network is undergoing a dramatic shift amid its studio counterpart’s pending sale to Disney (or Comcast). Gone are niche comedies like Brooklyn and narrow dramas like Lucifer as Fox plots a shift to broader audiences with a slate of procedurals and multicamera comedies including Tim Allen’s Last Man Standing. (The latter was revived at Fox — whose 20th TV owns the series — a year after it was canceled at ABC.)

Lucifer never really set the ratings afire. In its third season, it averaged a 1.3 rating among adults 18-49 and nearly 5 million viewers once all live-plus-7 lifts were factored in. Its live tune-in was a limp 0.8 rating in the key demo, and not for a lack of attempts to give it a fighting chance on the network’s part. Lucifer aired alongside such power players as the original X-Files revival and Gotham.

Netflix revived the DC Comics-inspired drama after a massive fan campaign. Season three ended on a cliffhanger, with creator Joe Henderson tweeting out that the axing "fucking hurts" and that he was sorry for frustrating "the hell out of you fans." Series star Tom Ellis, for his part, tweeted that he was "gutted" by the cancellation. "It fills me with great sadness to confirm the rumours that some of you have been asking. Fox has indeed cancelled #lucifer I’m so sorry guys," the actor wrote at the time.

Lucifer was one of multiple series to have the proverbial rug pulled out from beneath it amid Fox’s creative shift. Established shows and pilots continue to move beyond their initial homes as the Peak TV era offers more choices where one outlet’s miss is another’s hit. It also is worth noting that Netflix didn't even have the SVOD rights to Lucifer — Hulu did — meaning that deal had to be reworked, similar to the way Amazon recently revived Syfy’s The Expanse after having to renegotiate SVOD rights as the first three seasons were sold to Netflix.