Governor Bill Haslam of Tennessee has granted clemency to Cyntoia Brown, a 30-year-old woman serving a life sentence for fatally shooting a man in 2004 who had hired her as a prostitute when she was a teenage sex trafficking victim.

A statement from the office of Governor Haslam said Ms. Brown would be released to supervised parole on August 7, 2019, after serving 15 years in prison. “Cyntoia Brown committed, by her own admission, a horrific crime at the age of 16,” Mr. Haslam said in the 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. Transformation should be accompanied by hope. So, I am commuting Ms. Brown’s sentence, subject to certain conditions” he said.

Brown’s story had attracted national attention and widespread support from celebrities, including Rihanna and Kim Kardashian West, as well as lawmakers and rights activists who highlighted the years of abuse and forced prostitution that she endured in her youth.

Her mother, who abused drugs and alcohol, placed her for adoption as a child, according to court documents. At 16, Ms. Brown ran away from her adoptive family and started to live in a motel with a pimp who raped her and forced her to become a prostitute. In 2004, Johnny M. Allen, 43, a real estate broker, picked up Ms. Brown at a restaurant in Nashville and drove her to his home, after she agreed to engage in sexual activity for $150, court documents say.

After they got into bed, Ms. Brown said she thought he was reaching for a gun to kill her. She later shot him in his sleep with a handgun from her purse, took money and two guns, and fled, documents say. Ms. Brown, tried as an adult, was convicted by a Davidson County jury in 2006 of first-degree murder and aggravated robbery. She was sentenced to life in prison and would not have been eligible for parole consideration until 2055.

Under the executive clemency granted by the governor, Ms. Brown will be under supervised parole for 10 years, until August 7, 2029.