Updated at 5:50 p.m.: Revised to reflect the verdict and reaction.

The man who beat up Muhlaysia Booker in a viral video this spring was found guilty of assault Monday.

Edward Thomas (Dallas County Jail)

Prosecutors had asked a Dallas County jury to find Edward Thomas guilty of aggravated assault with a deadly weapon, a felony, but they instead convicted him on a misdemeanor charge of assault.

He was sentenced to 300 days in jail, including time served, on the condition he not appeal the ruling.

The jury deliberated for about four hours after the prosecution and defense presented their closing arguments Monday. The verdict concludes a weeklong trial that included a defense attorney being tossed in jail over his continued outbursts.

Friends and family on both sides of the case crowded the courtroom on the seventh floor of the Frank Crowley Courts Building.

Moments before the verdict was read, Thomas’ mother, Alicia Thomas, sobbed in one corner of the room. Booker’s friends and family sat in silence, some of their legs shaking nervously.

Alicia Thomas and her family quietly celebrated after hearing the verdict.

“I feel overwhelmed — relieved,” she said. “I’m just happy with the outcome. And I want to say, I’m sorry to the Booker family. And I hope justice is served for the loss of their child.”

Booker’s family declined to comment after the trial.

Thomas, 29, was caught on video beating Booker at the Royal Crest Apartments in east Oak Cliff in April. The video of the beating went viral after it was was posted on Facebook.

In the video, Thomas walks over to Booker and punches her multiple times. Others repeatedly stomp on Booker’s face.

At one point, Booker breaks free and stumbles a few feet before Thomas begins punching her again. Thirty seconds and two punches to the face later, Booker is dragged away by her friends.

Booker, 22, was hospitalized with a broken wrist and a concussion afterward.

She was killed about a month later in an unrelated attack. Another man, Kendrell Lavar Lyles, is charged with murder in her death.

Muhlaysia Booker, 22, was shot and killed in May, about a month after she was beaten at an east Oak Cliff apartment complex

Throughout the trial, prosecutors argued that Thomas was guilty of using his hands as a deadly weapon when he attacked Booker.

The defense portrayed the fight as “mutual combat” between two men and said Booker had provoked the beating. The defense regularly referred to Booker by her birth name and used male pronouns for her, which upset several members of Booker’s family.

On Monday, prosecutors said Booker — 80 pounds lighter than the 6-foot-7 Thomas — never had a chance to defend herself.

“He threw a punch, he threw 20 punches, he threw 26 punches,” lead prosecutor Robert Withers told the jury after replaying the video of the mob surrounding Booker as she was beaten.

Defense attorney Andrew Wilkerson, who was held in contempt, fined and jailed for a few hours last week, called the investigation shoddy. He suggested that the state never proved Thomas’ punches caused Booker’s injuries, which defense attorneys downplayed as scratches that were fixed with bandages and aspirin.

Wilkerson pleaded with the jury to either acquit Thomas or convict him of a lesser assault charge.

“Misdemeanor assault is what he did,” he said. “Misdemeanor assault is what he admitted to.”

Withers countered that Thomas “doesn’t get to walk, just because Muhlaysia Booker was tough, just because her injuries weren’t serious."

In the end, the jury agreed with both sides.

Texas leads the nation in transgender violence, and it has been particularly acute in Dallas in recent months. Another transgender woman, Chynal Lindsey, was found dead in White Rock Lake days after Booker’s death, and in September a man shot Daniela Calderon, a transgender woman, in northwest Dallas.