In the eighth and final season, Beckett estranges herself from Castle in order to protect him from LokSat, a deadly mastermind who she's after, although they are married still and very much in love. Beckett starts living elsewhere, not letting Castle know about LokSat. After the events of "Mr. And Mrs. Castle" they get back together. Alexis becomes Castle's main helping hand in his P.I. agency. In the series finale, a flash forward to seven years later shows Castle and Beckett are the parents of three children.