Ex-Pennsylvania attorney general out on bail amid appeal

Former state Attorney General Kathleen Kane leaves court in handcuffs after her sentencing at the Montgomery County Courthouse in Norristown, Pa., Monday, Oct. 24, 2016. Kane is sentenced to 10-to-23 months in county prison and 8 years probation. In August, Kane was found guilty of felony perjury and an assortment of misdemeanors related to a leak of secret grand jury materials. (Dan Gleiter/PennLive.com via AP, Pool) (The Associated Press)

Former state Attorney General Kathleen Kane leaves court in handcuffs after her sentencing at the Montgomery County Courthouse in Norristown, Pa., Monday, Oct. 24, 2016. Kane is sentenced to 10-to-23 months in county prison and 8 years probation. In August, Kane was found guilty of felony perjury and an assortment of misdemeanors related to a leak of secret grand jury materials. (Dan Gleiter/PennLive.com via AP, Pool) (The Associated Press)

CORRECTS TO AFTER SENTENCING HEARING, NOT BEFORE - Former Pennsylvania Attorney General Kathleen Kane is escorted from Montgomery County courthouse after her sentencing hearing in Norristown, Pa, Monday, Oct. 24, 2016. Kane was sentenced Monday to 10 to 23 months in jail for illegally disclosing details from a grand jury investigation to embarrass a rival and lying about it under oath. (AP Photo/Matt Rourke) (The Associated Press)

Former Pennsylvania Attorney General Kathleen Kane has been released from a county jail on bail after serving about two hours of a sentence for leaking grand jury documents and then lying about it under oath.

The one-term Democrat was sentenced on Monday to 10 to 23 months in jail in the perjury and obstruction case.

Montgomery County Judge Wendy Demchick-Alloy says Kane's ego drove her to break the law as she sought to retaliate against "perceived enemies."

The once-rising star in the state's Democratic Party was led out of the courtroom in handcuffs.

She had asked for probation or house arrest so she could raise her two sons.

She plans to appeal.

The 50-year-old Kane had been an assistant prosecutor in her native Scranton before her 2012 run for statewide office.