here's my "nightline" coanchor byron pitts. >> i want you guys to be safe, stay with you >> reporter: pennsylvania's attorney general kathleen cain at the peak of her power. when running away from danger was never her m.o. >> we can get out, right? >> hm, i wouldn't. but you're the boss. >> we're getting out. >> reporter: on this day she's in philadelphia with the gun violence task force to find a fugitive accused of attempted murder. but cain says the real danger she never saw coming, not from criminals, but her colleagues. a discovery that has shaken her career in jeopardy. >> porngate scandal. >> 398 pages, much of it hard-core porn -- >> names have been named, x-rated material exposed -- >> reporter: a trove of e-mails her office discovered and made public full of racism, sexism, and pornography. >> the first time you saw these e-mails what was your immediate reaction? >> oh my god. >> reporter: the scandal has been dubbed porngate. but perhaps most shocking, who sent and received those e-mails. some of the state's highest-ranking officials. >> judges, law enforcement -- >> report