A former boyfriend who later became a top aide to Pennsylvania's attorney general has told jurors she was trying to "set me up" for leaking grand jury material to the press.

First-term Democrat Kathleen Kane is on trial on charges of perjury and obstruction.

Authorities say she tarnished the image of an NAACP official who was investigated but never charged, all to embarrass a rival prosecutor.

The defense says the material wasn't confidential.

Kane's former law school boyfriend, Adrian King, served as her top deputy but on Thursday endured hostile questioning from her lawyers.

He admits he passed an envelope from her to a campaign consultant that eventually reached a newspaper. But King says he didn't know it contained secret criminal files.

King says Kane is trying to frame him.