(CNN) A judge sentenced former Pennsylvania Attorney General Kathleen Kane on Monday to 10 to 23 months in prison for committing multiple felonies stemming from a politically motivated act of retribution.

Kane, who resigned after her conviction of perjury and obstruction in August, also will be on probation for eight years following her release, according to Kim Bathgate, spokeswoman for the Office of Pennsylvania Courts.

Kane, a Democrat who was elected in 2012, faced a possible 12-24 years in prison, according to Kate Delano, a spokeswoman for the Montgomery County District Attorney's Office.

Before the sentencing, Kane testified on her own behalf, asking the judge to have mercy for the sake of her two teenage children.

"I really don't care what happens to me," Kane, 50, said, CNN affiliate WTAE reported

JUST WATCHED PA Attorney General Kathleen Kane found guilty Replay More Videos ... MUST WATCH PA Attorney General Kathleen Kane found guilty 01:05

that she has deep remorse for violating the trust of Pennsylvania residents. The attorney argued a prison sentence wouldn't be necessary because the loss of Kane's position and law career was punishment enough. An attorney representing Kane told CNN affiliate KYW that she has deep remorse for violating the trust of Pennsylvania residents. The attorney argued a prison sentence wouldn't be necessary because the loss of Kane's position and law career was punishment enough.

Prosecutors, however, said that her crimes -- which they say have tarnished the attorney general's office and ruined an activist's life in the process -- warranted time behind bars.

Judge Wendy Demchick-Alloy handed down the sentence after several hours of testimony, CNN affiliate KPVI reported

Kane was led out of the courtroom in handcuffs and taken to Montgomery County jail after her sentencing, KYW reported. She posted a $75,000 cash bail and remains free while she appeals, CNN affiliate WPVI reported.

The charges had alleged that Kane acted in anger about a local newspaper article that accused her of dropping an investigation into politicians accepting bribes. To get back at her predecessors, the complaint said Kane leaked sealed, confidential grand jury documents to the media and then lied under oath.

A political act of retribution

Four years ago, Kane, a former assistant district attorney in Lackawanna County, defeated Republican David Freed as a political rookie.

Former Pennsylvania Attorney General Kathleen Kane arrives at the Montgomery County courthouse for her scheduled sentencing hearing in Norristown on Monday, October 24.

State Democrats quickly pegged Kane as one of the party's rising stars. But halfway through her term, the Philadelphia Inquirer ran a story with the headline: " Sources: Kathleen Kane shut down probe of Philly Democrats ."

That's where the trouble started. The article outlined an investigation launched by Kane's predecessor, former Chief Deputy Attorney General Frank G. Fina, into politicians caught in a sting accepting local bribes. In emails cited in the complaint, an irate Kane vowed to wage "war" with Fina, a criminal complaint later said.

After the article, Kane leaked sealed, confidential grand jury documents conducted under Fina that looked into whether J. Wyatt Mondesire, the former leader of the NAACP's Philadelphia chapter, misused grant money, the complaint said. Fina's investigation never led to criminal charges against Mondesire, the complaint said.

'No one is above the law'

In August 2015, then-Montgomery County District Attorney Risa Vetri Ferman, a Republican, filed charges against Kane. Ferman accused the then-attorney general of secretly leaking documents "in the hopes of embarrassing and harming former state prosecutors whom she believed, without evidence, had made her look bad."

Ferman also alleged that Kane after had lied under oath to a grand jury about leaking the grand jury documents to reporters in order to cover her tracks.

JUST WATCHED See if you can follow this tangled web of political sleaze Replay More Videos ... MUST WATCH See if you can follow this tangled web of political sleaze 01:57

Kane, though, strongly denied the allegations ahead of the trial -- even as Democrats like Gov. Tom Wolf urged her to resign.

"A resignation would be an admission of guilt and I'm not guilty," Kane said in a statement in August ahead of her trial.

A jury found Kane guilty of felony counts of perjury and obstruction. She resigned that same week.

"It seemed that we had somebody who felt that she was above the law, and that's not the case because no one is above the law," Montgomery County District Attorney Kevin Steele said following the trial. "We are a very honorable profession here. We have rules that we have to abide by and there are no exceptions to that."

Wolf nominated Bruce Beemer, a former Kane deputy who testified against her, to become attorney general.

Prosecutors: Kane should go to jail

On Monday, Judge Demchick-Alloy weighed whether Kane would serve time behind bars, remain under house arrest or simply get probation.

In Kane's sentencing memo, her attorney argued to the judge that the former attorney general has been punished enough since she had to step down from elected office and could be disbarred given her status as a now convicted felon. In addition, prosecutors said Kane, who wants to focus on parenting her two teenage sons, was not at risk of re-offending, nor was she a threat to society.

Photos: Politicians in hot water Photos: Politicians in hot water U.S. Rep. Chaka Fattah was convicted on federal corruption charges on Tuesday, June 21. The Philadelphia Democrat was tied to a host of campaign finance schemes, according to the Department of Justice. Hide Caption 1 of 12 Photos: Politicians in hot water Former Speaker of the House Dennis Hastert was sentenced to 15 months in prison and ordered to pay $250,000 to a victims' fund in April after a hush-money case revealed he was being accused of sexually abusing young boys as a teacher in Illinois. Hide Caption 2 of 12 Photos: Politicians in hot water Former Virginia Gov. Bob McDonnell arrives at his corruption trial in Richmond, Virginia, in September 2015. A jury convicted McDonnell and his wife, Maureen, derailing the political ambitions of the one-time rising star in the Republican Party. McDonnell, who was sentenced to two years in prison, has asked the Supreme Court to reverse his conviction. The high court heard his challenge in April. Hide Caption 3 of 12 Photos: Politicians in hot water U.S. Sen. Robert Menendez, a New Jersey Democrat, was indicted on corruption charges in April 2015. Federal prosecutors have accused Menendez of using his Senate office to push the business interests of a friend and donor in exchange for gifts. The senator has pleaded not guilty to the charges and vehemently asserts his innocence. Hide Caption 4 of 12 Photos: Politicians in hot water U.S. Rep. Vance McAllister asked for forgiveness from God, his family and his constituents after a newspaper published what it said was surveillance video showing the married Louisiana Republican making out with a female staffer. His term ended in 2015. Hide Caption 5 of 12 Photos: Politicians in hot water Former U.S. Rep. Jesse Jackson Jr. and his wife, Sandra, arrive at federal court in Washington for sentencing in August 2013. Jackson, a Democrat from Illinois, was sentenced to 30 months in prison for improper use of campaign funds, while his wife got 12 months for filing false tax returns. Hide Caption 6 of 12 Photos: Politicians in hot water In 2012, former Illinois Gov. Rod Blagojevich was sentenced to 14 years in prison after being convicted of 18 criminal counts, including trying to sell the appointment to fill the U.S. Senate seat vacated by Barack Obama. Hide Caption 7 of 12 Photos: Politicians in hot water Lewis "Scooter" Libby, former chief of staff for Vice President Dick Cheney, was convicted in 2007 of obstructing a federal investigation into who revealed the identity of CIA agent Valerie Plame Wilson. He was sentenced to 30 months in prison and fined $250,000, but former President George W. Bush commuted his sentence. Hide Caption 8 of 12 Photos: Politicians in hot water Former U.S. Rep. William Jefferson was sentenced to 13 years in prison in 2009 after being convicted of 11 counts of corruption related to using his office to solicit bribes. The Louisiana Democrat was also ordered to forfeit $470,000. Hide Caption 9 of 12 Photos: Politicians in hot water Former U.S. Rep. Bob Ney, a Republican from Ohio, was sentenced to 30 months in prison in 2007 after being convicted of conspiracy to commit fraud and making false statements to investigators. Hide Caption 10 of 12 Photos: Politicians in hot water U.S. Rep. James Traficant Jr., D-Ohio, spent seven years in prison after being convicted of bribery and corruption and tax evasion charges in 2002. Hide Caption 11 of 12 Photos: Politicians in hot water Former U.S. Rep. Randy "Duke" Cunningham, R-California, was sentenced to eight years in prison in 2006 after he was convicted of collecting $2.4 million in homes, yachts, antique furnishings and other bribes on a scale unparalleled in the history of Congress. Hide Caption 12 of 12

But Steele wrote in a sentencing memo that Kane deserved prison since she eroded the public's confidence in the attorney general's office, according to KYW. Beyond that, Steele noted that Mondesire, who was never charged of a crime, had lost his job, saw his health decline, and died nearly two years later.

"During her tenure as attorney general, Kane behaved in a paranoid manner and repeatedly misused her official authority to advance her personal vendettas," Steele wrote in a sentencing memo, according to the The Legal Intelligencer.

The race for the AG's office

Pennsylvania residents will soon get a chance to decide who permanently replaces Kane when they elect a new attorney general next month.

Josh Shapiro, a Democrat who chairs the Montgomery County Board of Commissioners, is running against state Sen. John Rafferty, a Republican from Montgomery.

The election will occur statewide on November 8.