SPARTANBURG - The man who fired the shots that killed a Spartanburg cab driver two years ago will spend less time in a South Carolina prison than his unarmed accomplice in the robbery attempt.

The Herald-Journal of Spartanburg reports that Circuit Judge Thomas Russo sentenced 24-year-old Darell Ray to 30 years for murder and 20 years on armed robbery Thursday, with the sentences to run at the same time.

Authorities say Ray got into a shootout with 55-year-old Harvey Wells as he washed his taxi in January 2007.

Ray pleaded guilty and testified against his accomplice, 22-year-old William Lee.

Lee was convicted of murder and attempted armed robbery earlier this week and was sentenced to 45 years in prison. During Lee's trial, no one testified he had a gun.