ST. PAUL, Minn. (WCCO) — A Ramsey County judge determined Amir Locke’s cousin will be charged as an adult.

Mekhi Speed is accused in the shooting death of 38-year-old Otis Elder. Police say it happened during an apparent drug deal in St. Paul on Jan. 10.

READ MORE: Mekhi Speed, Cousin Of Amir Locke, Pleads Guilty To Murder Of Otis Elder

The crime scene following Otis Elder’s murder (credit: CBS)

READ MORE: BCA Releases All Bodycam Video From Officers In Raid That Left Amir Locke Dead

The investigation into that murder led to the no-knock search warrant at the Bolero Flats apartment building in downtown Minneapolis on the morning of Feb. 2. That’s when Locke was shot and killed by an MPD SWAT team member.

Locke was not a subject of the investigation. His family says he was an innocent victim of a raid gone wrong.

MORE NEWS: 'I Feared For My Life': Docs Reveal Interviews With Officer Who Fatally Shot Amir Locke

The court says Speed, who turned 18 in March, is expected to plead guilty on Friday. He will be sentenced at a later date.