Ms. Kane was elected in 2012. The first half of her tenure was marked with moments that she claimed as successes, like closing a loophole in gun laws. But she soon became embroiled in scandal, in a state with a rich history of them.

“It turns on the perception that she abused her power. She is the chief law enforcement officer for the Commonwealth of Pennsylvania,” said David Zellis, a former prosecutor in Bucks County who has observed the trial but is not involved. He added, “I think that it’s turned the whole criminal justice system in the state upside down.”

To her detractors, she had abused her power and broken the law; to her supporters, she had rousted the state’s old-boys’ network and become a victim herself. But in court, she was silent: Though her defense team cross-examined the prosecution’s witnesses, it rested without calling a single one of its own.

Ms. Kane, who faced nine charges, including two felony perjury counts, criminal conspiracy and obstruction, was accused of leaking secret grand jury documents to the news media in an effort to discredit the prosecutor Frank Fina, and then lying to cover it up.

“‘This is war,’ the defendant’s words,” said the lead prosecutor, Kevin Steele, in reference to an email written by Ms. Kane. “Wars have casualties. Wars leave scars.”

Earlier Monday, in a nearly two-hour closing statement, wrought with text messages, newspaper front pages and grand jury testimony, Mr. Steele painted a picture of Ms. Kane trying to “go on the offensive” after a newspaper article that criticized her for shutting down an undercover investigation into possible corruption by Democratic state representatives. Prosecutors say she believed Mr. Fina was behind the story.

Ms. Kane, he said, sought to leak details from a 2009 grand jury investigation into the financial affairs of J. Whyatt Mondesire, a former leader of the N.A.A.C.P., because she wanted residents to know that Mr. Fina had chosen not to prosecute. She then lied about it when a grand jury investigated, Mr. Steele said.