VISALIA, Calif. (KFSN) -- At first, Erika Sandoval denied any involvement in her ex-husband's murder -- a crime that shocked the Central Valley.
On February 6th, 2015, Daniel Green, an Exeter police officer, was found shot to death in the bathtub of his Goshen home, after another Exeter officer went to check on him.
The next day, his ex-wife Erika Sandoval was arrested for his murder.
RELATED: Woman charged with 1st degree murder of her ex-husband and Exeter Police officer
She was also charged with the special circumstance of lying in wait.
Prosecutors say she hid in Green's home until he got home, and then shot him four times while he was on the toilet.
On Tuesday, Tulare County Assistant District Attorney David Alavezos showed the jury several surveillance clips. They show Sandoval arriving at Green's home just after 11 a.m. on the 6th, Green returning home about an hour later, and then Sandoval leaving his home just before 1 p.m.
"She did admit she told Daniel she hoped he died on duty, but it had been some time," Alavezos said to the courtroom.
Sandoval eventually admitted to killing her ex-husband.
Prosecutors believe she did it because Green had started to see a new woman, sharing a photo of them on Instagram.
The woman's name was written on a piece of paper found in Sandoval's purse.
RELATED: Turbulent history between murdered Exeter police officer, ex-wife
"Why go there and wait for him? And then kill him and then leave?" a Tulare County sheriff's sergeant asked Sandoval.
"Why not?" she responded.
Sandoval's defense team will present their opening statements to the jury at 10 a.m. on Wednesday.
Sandoval faces the death penalty if convicted of the charges.
Trial begins for woman accused of killing Exeter police officer Daniel Green
UPDATE: Alleged sexually violent predator back in custody after he was mistakenly released from Fresno County jail
More TOP STORIES News