Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Cyntoia Brown, a Tennessee woman who was convicted as a teenager of killing a man while she said she was a sex trafficking victim, was granted clemency Monday by Gov. Bill Haslam.

Brown was granted a full commutation to parole. She will be eligible for release on Aug. 7 after serving 15 years in prison and will remain on parole for 10 years.

Haslam, a Republican, said the decision comes after careful consideration of "what is a tragic and complex case."

"Cyntoia Brown committed, by her own admission, a horrific crime at the age of 16," Haslam said in a statement. "Yet, imposing a life sentence on a juvenile that would require her to serve at least 51 years before even being eligible for parole consideration is too harsh, especially in light of the extraordinary steps Ms. Brown has taken to rebuild her life."

Haslam added: “Transformation should be accompanied by hope."

Brown thanked the governor and her supporters in a statement released Monday by her attorneys.

"Thank you, Governor Haslam, for your act of mercy in giving me a second chance," Brown said. "I will do everything I can to justify your faith in me."

Brown said she is grateful for the support, prayers, and encouragement she has received, including from Tennessee Department of Corrections officials.

Her case inspired a 2011 documentary titled "Me Facing Life: The Cyntoia Brown Story" that thrust her into the spotlight.

The Morning Rundown Get a head start on the morning's top stories. This site is protected by recaptcha

Brown’s attorneys told NBC News they met with Haslam ahead of his decision, which they said is rare in a case like hers.

“I would have to say the strongest persuasive point with him was the remarkable rehabilitation record she showed,” attorney Edward Yarbrough said after the governor’s announcement. “Very few people are able to retain that. Some are good in school. Some could have good behavior. Some are able to help in the prison and help other people.”

He said Brown has the rare combination of all those things.

Joseph Walker, senior pastor at Nashville’s Mt. Zion Baptist Church, told NBC News he provided spiritual counsel to both Brown and Haslam. He said he met with Brown just before Christmas at the Tennessee Prison for Women and spoke with the governor by phone two weeks later.

"I felt so passionately about this case," Walker said. "It was a way to raise the conversation on restorative justice."

The pastor said he and Haslam discussed what the decision could mean "from a moral perspective."

"He said he respected my opinion," Walker said.

Brown's attorneys said they were notified last week that she would be granted clemency. She learned of the decision early Monday morning, Walker said, adding that she was "jubilant."

Brown, now 30, was tried as an adult in 2006, convicted and given a life sentence for the death of Johnny Mitchell Allen, who paid Brown for sex. She was also convicted of aggravated robbery.

Brown previously said that she had feared for her life and pulled a gun from her purse and shot Allen, 43, while in bed with him because she believed he was reaching for a gun. Prosecutors argued the motive was robbery.

At the time, Brown was a runaway and living with her 24-year-old boyfriend, a pimp known as “Kut Throat,” who Brown said raped her and forced her into prostitution.

Last month, the Tennessee Supreme Court ruled Brown must serve 51 years in jail before she is eligible for release. The ruling sparked outrage online among Brown’s supporters, including lawmakers and many celebrities who have called for her release.

More than half a million people have signed petitions for Brown's freedom online and a slew of celebrities including LeBron James, Rihanna, Kim Kardashian West, Meek Mill and Amy Schumer have rallied for her release on social media with the hashtag #freecyntoiabrown. Rihanna was among the first celebrities to weigh in on Brown's case in a November 2017 Instagram post that helped highlight the need for criminal justice reform.

While in prison, Brown has earned a GED and an associate degree through the Lipscomb Initiative for Education Program with a 4.0 GPA, Haslam said. She is scheduled to earn her bachelor's degree in May.

Brown said Monday she is committed to live the rest of her life helping others, especially young people.

"My hope is to help other young girls avoid ending up where I have been," she said.