“Aquarius” has been canceled at NBC after two seasons, TheWrap has learned.

The series stars “The X-Files” and “Californication” alum Duchovny as a Los Angeles police officer on the trail of Charles Manson. The first season was released via streaming video in its entirety following its May 2015 premiere.

The show failed to find a major audience on traditional channels. The first season averaged just 2.8 million viewers and a 0.5 rating per episode. Season 2 wasn’t any better, coming in with 1.7 million viewers and a 0.3 rating.

Also Read: 'The X-Files': Fox Boss Explains Why Season 10 Was Challenged

In addition to Duchovny, the show also starred Grey Damon, Gethin Anthony, Emma Dumont, Claire Holt, Ambyr Childers, Chance Kelly, and Madisen Beaty.

Duchovy was also an executive producer on the series, along with John McNamara, Alexandra Cunningham, Sera Gamble, Rafael Yglesias, Jonas Pate, Marty Adelstein, Becky Clements, and Melanie Greene.

The one upside to this news, at least for Duchovny, is that this could free him up to return for more episodes of “The X-Files.” Fox executives have consistently said that scheduling issues have been a big hindrance to producing more episodes of the paranormal procedural.

Also Read: Gillian Anderson Jokes About 'X-Files' Emmy Snub With Throwback David Duchovny Photo

So if Gillian Anderson and Chris Carter are able to work things out with their own schedules, don’t be surprised if Mulder and Scully are back out there hunting for the truth before you know it.