STEUBENVILLE, Ohio (CNN) -- Two teenage boys were convicted Sunday in an Ohio rape case that gained worldwide attention because of -- and through -- the use of social media.
In a trial that divided a football-crazed Rust Belt town, Trent Mays, 17, and Ma'lik Richmond, 16, were found guilty of raping an allegedly drunk 16-year-old girl.
The case of the two Steubenville football players attracted the attention of bloggers -- and even the loosely organized hacking group, Anonymous -- who questioned everything from the behavior of the football team to the integrity of the investigation.
Judge Thomas Lipps announced his decision after reviewing evidence presented over four days of testimony in the case against Mays and Richmond, who were tried as juveniles.
Mays was also found guilty of disseminating a nude photo of a minor.
The ruling brings an end to a trial that gained media attention for its lurid text messages, cell phone pictures and videos, and social media posts surrounding the sexual abuse of the girl.
The victim was not in the courtroom when the ruling was read, but her mother gave a statement after the judge's ruling.
"Human compassion is not taught by a teacher, a coach or a parent. It is a God-given gift instilled in all of us," the victim's mother said after court was adjourned. "You displayed not only a lack of this compassion, but a lack of any moral code."
The woman said her daughter will persevere and move on, adding that she has pity for Mays and Richmond.
Bob Fitzsimmons, the attorney for the girl, said his client was doing well.
"I think she's really happy that this is over and, remember, she is a 16-year-old girl still and she's a high school student," he said. "She just wants to get back with her normal life, as does the family. It is a big relief to her at this point."
He wouldn't comment when asked if the girl and her family plan to file a civil case.
Mays was sentenced to a minimum of two years in a juvenile correctional facility. Richmond was sentenced to a minimum of one year, but like Mays, he could be in detention until he is 21.
The Department of Youth Services will rule whether the two boys will be detained longer, Lipps said, adding it will depend on their behavior and rehabilitation.
The two will be required to register as sex offenders and undergo treatment while in detention. Lipps said he would postpone a hearing into which sexual offender registration category they will be classified until the end of their incarceration.
Mays and Richmond, who will be credited for the time they served before the trial, were also ordered to stay away from the victim until they are 21.
Richmond's father told CNN that his son was doing OK.
"I told Ma'lik to put all his trust in God. God will see him through this," Nate Richmond said. "I told him that I love him, basically. And to be strong."
In court, Ma'lik Richmond apologized before breaking down in tears.
"I had no intention to do anything like that," he said. "And I'm sorry to put you guys through this."
Mays apologized to the families involved.
"No pictures should have been sent out, let alone been taken," he said.
Mays and Richmond were tried before Lipps, a visiting judge, without a jury. The trial moved quickly -- and through the weekend -- to accommodate the judge's schedule.
Ohio Attorney General Mike DeWine said more charges in the case could be forthcoming. He intends to call a grand jury to hear more evidence.
"We cannot bring finality to this case without convening a grand jury," he said. He said there were 16 people who had refused to talk to investigators.
He called the case a tragedy made even worse because the victim was revictimized through social media.
Back-to-school parties turned ugly
Mays and Richmond were accused of raping the girl during a series of end-of-summer parties in August 2012.
According to prosecutors, each of them penetrated the victim's vagina with his fingers, an act that constitutes rape under Ohio law if it is not consensual.
Attorneys for the two boys had said they were not guilty.
CNN's policy is not to identify alleged victims of sexual assault. CNN is not naming the minors who have testified but is identifying Mays and Richmond, whose names have been used by court officials, their attorneys and in multiple media accounts.
At the heart of the case was the question of whether the victim was too drunk on the night of August 11 and the early morning of August 12 to understand what was happening to her and to consent.
The victim testified Saturday that she remembered little about the night because she was drunk.
During closing statements on Saturday, attorneys for the two boys argued the state failed to prove beyond a reasonable doubt that their clients raped the girl, calling into question the victim's credibility.
They also questioned whether an avalanche of cell pictures and videos and social media posts available in the days after the rape, as well as national media coverage ahead of the trial, tainted testimony.
But prosecutors told the judge there is no question the girl was "substantially impaired."
"The things that made her an imperfect witness -- that she doesn't remember a lot -- made her in every sense of the word a perfect victim," prosecutor Marianne Hemmeter said.
Victim says she remembers little from the night in question
The girl testified Saturday that she remembered drinking at the first big party of the night and then holding Mays' hand as she left with him, Richmond and others.
The next thing she remembers, she told the court, is waking up in the morning naked on a couch in an unfamiliar house. She covered herself with a blanket while she looked for her clothes. She testified she could not find her underwear, earrings or cell phone.
She testified she was "too embarrassed to ask what happened that night because I didn't remember."
The girl told the court she had a flashback memory of throwing up in a street somewhere sometime after she left the first party.
The victim was the 28th and final witness in a trial that has shone an unwelcome spotlight on Steubenville, a down-on-its-luck town of 18,400 residents along the Ohio River, and the Steubenville High School football team known locally as "Big Red."