Killjoys is coming to an end on Syfy. Ahead of tonight’s Season 3 finale, the network said it has renewed the sci-fi adventure series for a final two seasons. The Season 4 and 5 20-episode pickup will act as the final chapter in the space drama. Season 4 is set to air in 2018.

From Temple Street, a division of Boat Rocker Studios, and Universal Cable Productions, Killjoys follows a trio of interplanetary bounty hunters – rebel leader Dutch (Hannah John-Kamen), tech-savvy John Jaqobis (Aaron Ashmore), and tactical D’avin Jaqobis (Luke MacFarlane) – on the brink of a multiplanetary war. Creator Michelle Lovretta serves as executive producer along with Karen Troubetzkoy and Temple Street’s David Fortier and Ivan Schneeberg.

“Helmed by Lovretta and driven by the superb storytelling, we are excited to bring Killjoys back for two final seasons,” said Bill McGoldrick, Executive Vice President Scripted Development for NBCUniversal Cable Entertainment. “Tonight’s game-changing season finale sets the tone for the final chapters of our bounty hunter’s space adventures and we cannot wait for our talented cast and crew to bring to life what is sure to be an epic journey that will leave our passionate fans on the edge of their seats.”

“A final two-season order is a huge vote of confidence for a show that keeps getting better and better,” said Fortier and Schneeberg, co-presidents of Boat Rocker Studios and executive producers of Killjoys. “We are so proud of the support Killjoys has received from critics and fans alike, and are thrilled to plan a deserving ending for Dutch and the Jaqobis brothers; it has been an incredible intergalactic journey and we could not have wished for better partners to share the ride.”

“This renewal is the kind of privilege every creator hopes for – a chance to plan the end of your story with the luxury of 20-episodes to do it,” said creator and executive producer Lovretta. “I’m immensely grateful that both of our network partners – along with Temple Street and UCP – have given our team, cast and fans this incredible opportunity.”

Throughout the third season, war has loomed over the J Star System. As the underdog trio struggled to assemble an army, the dangerous force of Aneela and her Hullen crew drew near. In tonight’s finale, the Killjoy militia are finally ready to go to war against her, using Delle Seyah as bait, but as the battle begins, Aneela finds a way to change the entire game.

Tonight’s Killjoys Season 3 finale airs at 8/7c on Syfy.