A Nassau County jury on Tuesday found a California man guilty of murder in the shooting death of his estranged wife’s boyfriend in her Valley Stream home, prosecutors said.

Deon Ewers, 51, of Los Angeles, faces a maximum sentence of 25 years to life after he was convicted of second-degree murder and second-degree criminal possession of a weapon, according to the Nassau County district attorney’s office.

The jury took less than a day to deliberate after a trial of about two weeks, prosecutors said. Ewers is scheduled to be sentenced May 5 before acting state Supreme Court Justice Meryl Berkowitz.

“This defendant went to his estranged wife’s home, shot her boyfriend five times in a fit of rage and killed the 34-year-old man as he laid in bed,” District Attorney Madeline Singas said in a statement. “Deon Ewers claimed that the killing was in self-defense, but jurors rejected that argument, and now Ewers faces life in prison for killing an innocent man.”

Ewers flew in from California on Nov. 6, 2015, and a short time later visited the East Hawthorne Avenue home of his estranged wife, authorities said.

While in the house, Ewers came upon Majid Morris, 34, his estranged wife’s boyfriend, in a second-floor bedroom and shot Morris multiple times, killing him. Morris was pronounced dead at a hospital a short time later.

advertisement | advertise on newsday

Nassau police detectives arrested Ewers the next day in Oceanside.

“The defendant claimed during the trial that the shooting was accidental and in self-defense,” prosecutors said. “Evidence recovered at the scene included five shell casings, bullet fragments in the bed, the victim’s DNA on the defendant’s pants, blood smears on sheets and a pillow with bullet holes.”

Ewers’ attorney could not be immediately reached for comment.