A Vallejo man has been charged with capital murder in connection with the death of a woman killed New Year’s Day during an attempted home invasion robbery in Dublin.

Rickey Tyrone White Jr., 28, was charged in the first homicide in Dublin in 11 years. He appeared at the East County Hall of Justice in Dublin on Monday to face an array of felonies that could send him to prison for the rest of his life, or possibly earn him the death penalty, court records show.

Police and prosecutors allege White and Adrianna Marie Navarro, 28, of Vallejo, committed a home invasion robbery at 11:30 p.m. Jan. 1 in the 3400 block of Monaghan Street. The resident — identified in court documents as Jimmy Bhatia — told police he awakened in bed to banging on his front door. He went to the door, recognized Navarro — his former girlfriend — and opened it up. Navarro and White then confronted Bhatia; White allegedly pointed a gun at him.

“The two subjects attempted to assault the resident, and in self-defense, the resident fired his own gun at the subjects as he fled from (the) residence and called police,” Dublin police Capt. Nate Schmidt said in a statement. Bullets hit Navarro and White, who shot at Bhatia, who was not hit.

Navarro was pronounced dead at the scene. White was taken to a hospital for treatment and booked into the Santa Rita Jail.

In an interview, Schmidt said prosecutors and police have determined Bhatia acted in self-defense when he fired his gun and will not face charges.

Tests were being conducted on the bullets that hit Navarro to determine whether White or her former boyfriend fired them, although it doesn’t matter according to state law. White was charged with murder under California’s “provocative act” doctrine, which applies when somebody allegedly commits an act that provokes someone else into killing another person, police said.

Schmidt said it remained unclear what the pair sought when they allegedly committed the home invasion. Their relationship also was under investigation.

Prosecutors on Monday filed these charges: Murder with two special circumstances allegations that the crime was committed during a robbery, and during a burglary. Those charges would make him eligible for life in prison without parole, or the death penalty. Prosecutors would decide later whether to seek capital punishment. Gov. Gavin Newsom declared a moratorium on executions during his term, but it does not preclude prosecuting agencies from seeking capital punishment convictions.

In addition, White faces charges of attempted murder, residential robbery, residential burglary, and possession of a firearm by a felon with priors. The court filing indicates White was convicted in 2016 in Clark County, Nevada, of attempted burglary and grand larceny of a victim over 65 years old. White also faces a slew of special allegations that include personally using a gun.

According to police, Navarro’s death was the first homicide in Dublin since Jan. 7, 2009.