Pennsylvania's next attorney general will be a lawyer from the Philadelphia suburbs who holds elective office and has legislative experience.

Democrat Josh Shapiro and Republican John Rafferty are competing to take over an office roiled by the arrest, trial and conviction two months ago of Attorney General Kathleen Kane.

Shapiro is a Montgomery County commissioner and former state House member who chairs the Pennsylvania Commission on Crime and Delinquency.

Rafferty is a 14-year veteran of the state Senate whose legal resume includes three years working in the attorney general's office.

Kane is awaiting sentencing on Oct. 24 after being convicted of leaking grand jury documents to a newspaper to embarrass a rival and then lying about it under oath.

The election is Nov. 8.