A Davenport man was sentenced Thursday to up to 10 years in prison for shooting a man who he said was breaking into his truck in November.

Byron Jacob Blackwell, 26, pleaded guilty in March to willful injury causing serious injury, a Class C felony. In exchange for his plea, prosecutors on Thursday dismissed charges of attempted murder and going armed with intent.

The shooting happened about 3:32 a.m. Nov. 1 in the 1300 block of Division Street.

Police say Blackwell was inside his home when he was made aware of a person possibly breaking into his vehicle, which was parked in the alley. He armed himself with a shotgun and confronted the person, a man, inside his vehicle, according to police.

Blackwell pointed the gun at the man, who then ran from the vehicle. He fired one round at the man as he was running away and fired a round at an unknown vehicle leaving the area, according to police.

Police say the man, identified in court documents as Dayvon Freeman, was shot in the back and required emergency surgery but survived.

Freeman, 23, was charged with third-degree burglary, an aggravated misdemeanor, in connection with the case. He has a final pretrial conference July 27.

Freeman, who was free on bond, was arrested earlier this year after police say he committed three armed robberies, including the robbery of two people whom he forced at gunpoint to withdraw money from an ATM machine using one of the victim's bank card.

He has a final pretrial conference in that case Aug. 23. Freeman remained in the jail Friday on a $452,000 cash-only bond.