Before Attorney General Kathleen Kane was indicted, she uncovered a cache of pornographic and racist emails that were being swapped among high-ranking state employees at her office -- and at a recent press conference, she claimed that discovery of those emails led to her recent disgrace.

Whether or not Kane —who saw perjury charges against her upheld at a Norristown hearing on Monday — was the victim of a conspiracy, the emails in question, unsealed by a state Supreme Court order on Wednesday, include explicit pornography and racist jokes being swapped among prosecutors on a taxpayer-paid salary and private attorneys.

Background: AG Kane declared 'war' in document leak, prosecutors say

The emails range from Penthouse-fare pornography to memes that are swapped on forums like 4chan and random images with racist or sexist commentary.

Several of the emails originated with Frank Fina, a former prosecutor at the Attorney General's office who is currently employed by the Philadelphia D.A.'s office. D.A. Seth Williams released a statement that they are reviewing the emails for possible violations of office policy.

Background: AG Kane turns herself in

"The Philadelphia District Attorney’s Office has clear human relations policies, so the District Attorney believes that a thorough review is necessary of the email chains and any actions current office employees took in their distribution. We will conclude this review as soon as possible," the statement said.

Related: Police corruption trial: Where did that Rolex come from?

One email from Fina, titled "New Office Motivation Posters," has five pornographic images attached of women in office attire that are too graphic for Metro to post even in edited form.

Another email from Fina has the subject line "Sarah for President" and has five pornographic pictures attached that are Photoshopped with former Alaska governor Sarah Palin's face on them. Prosecutor Robert J. Soop is listed as one of the recipients. Another is Richard Sheetz, a partner at a Troy law firm.

Related: Chaka Fattah says he's not guity, emphatic about his innocence

One email sent from Gerrard Lawrence, who was a Philadelphia detective, titled "Men in training" includes a picture of a little boy looking in a little girl's underwear. Kane at one point came under fire for saying the emails included child pornography, apparently in reference to this email.

Click below to see the entire Exhibit A of emails from Docket No. 175 MM 2014 -- In Re: The Thirty-fifth Statewide Investigating Grand Jury -- related to the charges against Attorney General Kathleen Kane.

EXTREMELY NSFW. Includes pornographic and racist content.

Part 1

Part 2

Part 3

Part 4

Part 5

Below see the press conference where Kane said that the discovery of the porn emails precipitated the indictment against her on perjury charges.