A Long Beach man who threatened to kill his former girlfriend was recently sentenced to six years in jail for misdemeanor domestic violence, the city prosecutor’s office announced on Wednesday.

Joseph Christo Gomez, 27, was found guilty on all charges, including domestic violence against his former girlfriend, threats to kill her, resisting arrest, and battery on a police officer responding to the altercation, according to a press release.

Officials said he also repeatedly violated a restraining order requiring him to stay away from the victim.

Authorities said the crimes happened on three separate occasions in 2015, from January through June.

During one of the instances, Gomez held the woman’s jaw shut and pinned her against the car door in the presence of their young children, officials stated.

In another, he called the victim and threatened to kill her. He then went to her home at 2:00AM and attempted to enter, the release stated.

When Long Beach police responded, Gomez refused to follow their instructions and struck an officer before he was taken into custody.

He also told officers he had a gun, but no firearm was found, officials said.

On Thursday, September 10, Long Beach Superior Court Judge Daniel Lowenthal sentenced Gomez to the maximum term and ordered an additional 173 days in jail, since he was on probation for a battery conviction in 2012, according to the release.

The nearly six months of added jail time was the maximum remaining time for the probation violation, officials said.

“This is a fair and appropriate sentence,” City Prosecutor Douglas Haubert said. “The defendant proved he is dangerous and would continue to act out violently if he was not incarcerated. The judge got it right.”

Deputy City Prosecutor Pooja Kumar—who handled the bench trial and sentencing—said Gomez caused the victim to be in extreme fear for her safety and the safety of their children.

“We are pleased with the outcome and hope this will end the nightmare she has been living,” Kumar added.

Stephanie Rivera is the community engagement editor. Reach her at [email protected] or on Twitter at @StephRivera88.