Editor's note: Please note this story contains graphic language.
(CNN) -- Two high school football players were convicted Sunday in an Ohio rape case that gained worldwide attention through, and then focused on, social media.
In a trial that divided the football-crazed Rust Belt town of Steubenville, Trent Mays, 17, and Ma'lik Richmond, 16, were found guilty of raping a drunk 16-year-old girl.
The case 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.
After the convictions, DeWine said he is asking the Jefferson County Common Pleas Court to convene a grand jury on April 15. DeWine said that while calling a grand jury does not mean indictments will be returned or charges filed, "this community needs assurance that no stone has been left unturned in our search for the truth."
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."
A community divided
Critics have accused community leaders of trying to paper over rampant misconduct by players of the powerhouse "Big Red" football team and have suggested that other students took part in the assaults or failed to do enough to stop them.
During closing arguments Saturday, Hemmeter cast aside the outside attention that Anonymous helped bring to the case.
"This case isn't about a YouTube video. This case isn't about social media. This case isn't about Big Red football," she told the judge.
"This case is about a 16-year-old girl who was taken advantage of, toyed with and humiliated. And it's time people who did this to her are held responsible."
Earlier in the day, attorneys for Mays and Richmond challenged the credibility of the victim, calling two of the 16-year-old girl's former best friends to testify.
One witness, a 17-year-old, testified the victim told her she believed she had been drugged the night of the assault, an allegation the witness said she did not believe because the girl "lies about things."
A hospital test on the victim for drugging came back negative, testimony revealed.
The teen witnesses, who described themselves as classmates and former best friends of the girl, told the court they saw the victim drinking. She drank at least four shots of vodka, two beers and some of a slushy mixed with vodka, a 16-year-old witness said.
The defense attempted to question the two teens about the victim's history, but the judge did not allow most of the line of questioning. Ohio, like most states, has a rape shield law that limits the amount of information of an alleged victim's past that can be explored in court.
The 17-year-old witness said she picked the victim up the next morning from someone's home and asked her what happened.
In the car, the victim said, "We didn't have sex, I swear. I don't know what happened. I don't remember," the teen testified.
On Friday, three teens, all self-described friends of the co-defendants, testified that they saw Mays and Richmond engage in sexual contact with the girl. All three have been granted immunity from prosecution.
One of the witnesses -- identified as a 17-year-old Steubenville football player and wrestler -- testified that he used his cell phone to record Mays putting his fingers inside the girl's vagina during a drive from one party to another. He said he deleted the video the next morning when he realized it was wrong.
The teen also testified that Mays later attempted to have the girl perform a sex act on him in the basement of a home.
"She didn't really respond to it," he said.
CNN's Poppy Harlow and Brian Vitagliano reported from Steubenville, Ohio, and Steve Almasy and Chelsea J. Carter reported and wrote the story in Atlanta. CNN's Yon Pomrenze contributed to this report.