BAKERSFIELD, Calif. (KGET) — Brian Coykendall and Matthew Peterson were once friends.

But when Peterson went to prison, Coykendall began dating his girlfriend. They lived in the same Ridgecrest home where Peterson previously lived, and where Coykendall stayed so often he was practically a roommate.

They kept their relationship a secret from him.

A few months later, when Peterson was released, Coykendall began formulating a plan, a prosecutor said Friday.

It included asking a neighbor to turn off surveillance cameras so Coykendall would have “plausible deniability” in case “something happened,” according to Deputy District Attorney Christine Antonios.

Something did happen — police arrived at a report of shots fired on March 4, 2022, and found Peterson face down in the street, his hands bound, blood pooled around him.