Showtime’s hit serial killer drama Dexter capped off its seventh season with one major, bloody twist in its season finale “Surprise, Motherf—er," which aried on Sunday.

With Captain Maria LaGuerta (Lauren Velez) hot on Dexter’s (Michael C. Hall) tracks all season, she seemed oh-so-close to nailing him down as the Bay Harbor Butcher in this latest episode. What’s more, LaGuerta uncovered evidence that linked Deb (Jennifer Carpenter) to Dexter's murder of Travis Marshall (Colin Hanks) as she found footage of Deb buying gasoline at a nearby gas station the night that the church burned down. With everything crumbling around him, Dexter decided the best plan of action was to kill LaGuerta and he did what any sensible serial killer would do: made it look like she was framing him and then set her up.

Dexter captured Hector Estrada (Nestor Serrano) and laid a trap for LaGuerta to meet them at the site where Dexter’s mother died. Dexter then killed Estrada and injected LaGuerta with his tranquilizer fluid that he uses on all of his victims. At that moment Deb walked in on the scene and implored Dexter to spare LaGuerta. LaGuerta then inexplicably awoke and tried to convice Deb to remember her duties as a cop and shoot her brother. This advice went in one ear and out the other as Deb, who had already served as an accessory to murder, now came full circle and pulled the trigger on LaGuerta.

The episode concluded with Hannah (Yvonne Strahovski), who knows Dexter’s real identity and had previously poisoned Deb, leaving a flower on his doorstep, a foreboding sign for the upcoming eighth season, which will be Dexter’s last.

Check out this short feature with Dexter producer Scott Buck talking about the season seven finale below: