One of Showtime‘s longest-running series, Californication, is coming to an end.

The dark comedy’s upcoming 12-episode seventh season, slated to debut in April, will be its last. The series is bowing out on top, having steadily grown in the ratings over its run to post its highest-rated season ever in season six, which averaged 2.9 million weekly viewers across platforms.

The decision to end Californication after Season 7 was quietly made after season six wrapped. The network brass wanted one more season, made one-year deals with creator/exec producer Tom Kapinos and star/exec producer David Duchovny, and the show’s producers started planning a final act. “With its unique blend of lyricism and excess, Californication has been one of our groundbreaking signature series,” said Showtime entertainment president David Nevins. “We will always be indebted to Tom Kapinos for leading the creative charge on this memorable comedy, and to David Duchovny for making us root for an unapologetic hedonist like Hank Moody.”

As for how things will end for Hank, Nevins would not drop clues but assured that “Tom has carefully planned the final chapter of Hank’s journey and has brought it to a beautiful and satisfying conclusion for new and long-time fans alike.” Californication stars Duchovny in his Golden Globe-winning role as hedonistic writer Hank Moody who fights to balance the demands of his insatiable libido, unpredictable career, ex-girlfriend/muse Karen and beloved daughter Becca.

The final season will find Hank joining the writer’s room as his never-released film Santa Monica Cop now becomes a television series of the same name. He’s riled frequently by his boss, the show’s old-school executive producer Rick Rath (guest star Michael Imperioli), and his fellow writing team members, including Goldie (guest star Mary Lynn Rajskub) and Alonzo (co-star Alonzo Bodden).

But he’s thrown by the reemergence of old friend Julia (guest star Heather Graham), whose arrival causes chaos in Hank’s already hectic life, and with his on-off relationship with Karen (Natascha McElhone). Meanwhile, Charlie (Evan Handler) and Marcy (Pamela Adlon) grapple with the aftermath of their reunion and an enticing offer from her ex-husband, Stu Beggs (guest star Stephen Tobolowsky). Rob Lowe, Brandon T. Jackson, Oliver Cooper and Mercedes Masohn will also guest star.

Over the course of its run, Californication has received five Emmy nominations and has two wins.