MINNEAPOLIS (WCCO) – A Minneapolis man faces 29 years in prison for his role in a shooting on Lake Street that left another man dead.

Fifty-one-year-old John Allen Davis was driving with Marshawn Moore and Marshawn Winston on July 7, 2016, when they decided to rob 52-year-old James Salter.

READ MORE: Semi Driver Killed In I-94 Crash In St. Michael, State Patrol Says

The three men were looking for another person, but settled on Salter when they could not find their original target. They pulled over near Lake Street and Fifth Avenue South and Moore exited the car.

READ MORE: Man Charged With Murder In Gunfight-Turned-Crash That Killed Autumn Merrick, 18

Moore told Salter to hand over his money and shot him because he was moving too slowly, according to the criminal complaint. After searching Salter for money, the men drove to McDonald’s.

A Hennepin County judge sentenced Davis to 345 months in prison, with credit for 662 days already served. The judge said Davis’ maturity – compared to Winston and Moore, who were 21 and 18 at the time of the shooting – struck her. The judge dropped the first-degree murder charge against Davis as part of his deal.

MORE NEWS: Stray Bullets Hit Daycare, Multiple Homes In Brooklyn Park

Moore has already been sentenced to 367 months in prison. Winston is awaiting sentencing.