The following contains spoilers for NCIS: Los Angeles Season 14, Episode 21, “New Beginnings, Part Two,” streaming now on Paramount+.

NCIS: Los Angeles showrunner R. Scott Gemmill recently unpacked how the long-running CBS police procedural’s writers’ room approached the series finale.

Gemmill gave an insight into the creative process on Season 14, Episode 21, “New Beginnings, Part Two,” in an interview with The Hollywood Reporter. “The story was secondary to what we wanted to do,” he said. “We basically knew we want Callen to get married. We want Kensi and Deeks to find out they’re going to have a baby. We want Sam’s father to be accepted to a promising medical trial. We want it to wrap up Rountree’s case with law enforcement. And we wanted to send some hope that we’re gonna go save Hetty — we wanted to address that. [Hetty actor] Linda [Hunt] wasn’t available — had she been available, it might have been a little different, but we sort of gave it that service.”