AUSTIN, Texas (Reuters) - Former Dallas police officer Amber Guyger was sentenced to 10 years in prison on Wednesday by a Texas jury that found her guilty of murder for walking into a neighbor’s apartment thinking it was her own and shooting him as he ate ice cream.

The jury came to its verdict in less than six hours on Tuesday, convicting Guyger, who is white, in the 2018 killing of Botham Jean, a 26-year-old black PwC accountant. His death sparked street protests last year, particularly when prosecutors initially opted to bring the lesser charge of manslaughter against Guyger, 31.

The sentence was less than the 28 years prosecutors had sought. Judge Tammy Kemp said the jury had imposed no fine.

Lawyers for the victim’s family said they believed the verdict was the first time a white female police officer had been found guilty of first-degree murder in the killing of an unarmed black man.

“This is a historic case and history provides us with a teachable moment,” said civil rights attorney Benjamin Crump, who also represented the family of Trayvon Martin, the Florida teenager shot and killed in 2012 by a civilian neighborhood watchman who was later cleared in court.

This case was unlike other recent high-profile killings, such as those of Michael Brown in Missouri and Philando Castile in Minnesota, since Guyger was not on duty or responding to a reported crime when she fired.

FORGIVENESS WITHIN, ANGER WITHOUT

After the sentence was handed down, Jean’s younger brother Brandt offered Guyger his forgiveness.

“I forgive you, and I know if you go to God and ask him, he will forgive you. I’m speaking for myself, not my family, but I love you just like anyone else,” Brandt Jean told Guyger.

Slideshow ( 9 images )

Brandt Jean then asked the judge’s permission to hug Guyger, the judge gave it, and he and Guyger ran to one another and embraced in the middle of the courtroom. They hugged, cried and spoke softly to one another for about a minute.

Outside the courthouse, the mood was less forgiving. Protesters blasted the sentence as too short, shouting, “No justice, no peace!” and “This is so wrong!”

With protesters at her side, Botham Jean’s mother, Allison, criticized what she called the poor training of police and called on the city to “clean up” its act.

“Our life must move on, but our life must move on with change. There’s gotta be a better day, and that better day starts with each and every one of us.”

Guyger, who had spent four years on the force before the killing, took the rare step of testifying in her own defense during her trial, tearfully expressing regret for shooting Jean but saying she had believed her life was in danger when she pulled the trigger.

Prosecutors also argued that Guyger did little to help Jean even after realizing her mistake, calling the 911 emergency phone number for an ambulance but not administering first aid.

They also showed the jury several text messages that painted Guyger as racist.

Guyger wrote in one January 2018 message that she would like to use pepper spray on the crowd at a Martin Luther King Jr. parade in Dallas, while in another she wrote that her black police colleagues “just have a different way of working and it shows.”

Slideshow ( 9 images )

Guyger also shared a post on Pinterest that stated: “I wear all black to remind you not to mess with me, because I’m already dressed for your funeral.”

During the trial, Guyger’s defense attorney said she was “on autopilot” after a long work day, when she mistakenly parked on the wrong floor in the garage and was able to enter Jean’s apartment because he had left the door slightly ajar.

“I’m so sorry, I’m so sorry. I have to live with this every single day,” Guyger told the jury of eight women and four men.

In cross-examination, Assistant District Attorney Jason Hermus asked her, “When you shot him twice, you intended to kill him, didn’t you?”

“I did,” Guyger responded, in a calm voice.