Question: who died at the end of season 8 criminal minds

title: Emily Prentiss
text: They eventually track them down to an abandoned building in Boston and arrive with a SWAT team . Prentiss reveals to Doyle that his son , whom Doyle believed had been killed , is actually alive , and that she staged photos of executing the boy in order to get Doyle to break under interrogation in North Korea . After an intense fight , Doyle manages to stab Prentiss in the abdomen with a broken table leg . Even though she is dying , she refuses to tell him where his son is hiding , and Doyle escapes shortly before Morgan reaches her . In the hospital , the BAU team is notified that Prentiss has died . They are seen attending her funeral . The last scene , however , reveals she is alive and in Paris , where JJ meets her and gives her an envelope with `` passports from three different countries , and a bank account in each one to keep ( her ) comfortable '' .