For five months, the man she thought she loved and trusted isolated her from her family, hurt her and forced her to have sex for money in San Francisco.

But on Friday, the 22-year-old woman did what few others in her position have done: She sat in a courtroom and confronted her abusive pimp, 25-year-old Alfonzo Marsell Woods, as a judge sentenced him to six years in state prison for human trafficking.

"I left my life, the people who truly loved me, for you and all you did was abuse me," the woman, who asked to be identified only as Emerald, said to Woods in her victim impact statement.

"You said you would take care of me," she said. "Instead, you took care of everyone else who came into the room."

Emerald, 22, met Woods on the social networking site Tagged and began a romantic relationship with him in September 2012, investigators said. Over time, they said, the relationship became abusive as Woods cut her off from family and friends and coerced her into selling her body.

When she became scared and tried to leave, he wouldn't let her, prosecutors said.

In court, Emerald described how Woods would call her weak and starve her for days because he thought she was fat. She said he once locked her in a room with only a bottle of iced tea, burned all the hair off her back just because he could, stabbed her in the hand and forced her to stand in the cold until her lips turned purple.

"I was afraid every single day," she said. "I walked around holding my breath."

Her ordeal ended when she built up the courage to go to the police in January 2013. Woods was arrested, and prosecutors charged him with pimping, pandering, human trafficking, domestic violence and assault with a deadly weapon.

He pleaded guilty Feb. 6 to one count of human trafficking in a deal with the district attorney's office, which was approved Friday by Judge James Collins.

"With this plea, we have one less scared survivor of human trafficking and domestic violence in this city," said Assistant District Attorney Omid Talai, who prosecuted the case.

Despite the admission of guilt, Woods' attorney, Deputy Public Defender Phoenix Streets, said the victim had been a willing participant in prostitution. His client, he asserted, never once tried to stop her from leaving.

Streets said Woods, who has a 1-year-old son, had a clean criminal history prior to this case. The human trafficking conviction, which includes an enhancement for using a knife in the commission of the crime, counts as one strike under the state's "three strikes" law.

"This is the sort of case where everybody loses in the end," Streets said. "Mr. Woods, the complaining witness, her family as well as his family."

But for Emerald, her mother and a dozen supporters who cheered for her outside court after her testimony, Woods' sentence was a victory.

"I hope you meet someone who treats you the way you treated me," she said to Woods at the end of her victim impact statement. "Game over. I win."