A young man accused of leading Midfield police on a chase during which a shot was fired by an officer turned himself in Friday.

He is charged with attempted murder and attempting to elude police.

The incident began about 11:30 a.m. Thursday when officers responded to a report of gunfire. They spotted a vehicle that matched the description they were given, and tried to pull that car over.

The driver, however, refused to stop and a short chase followed. That chase ended when the vehicle crashed into a house on Sugar Ray Drive in Birmingham.

Midfield police Sgt. Jesse Bell said the suspect - now identified as Foster - got out of the vehicle brandishing a handgun and then fled. While running, he pointed the gun at the pursuing officer and that's when the officer fired one shot.

No one was injured. Police said they found drugs and guns in the wrecked vehicle.

The suspect later told authorities he would surrender Thursday night, however he didn't turn himself in until about 11 a.m. Friday. Bell said Foster, along with his attorney, refused an interview with police so they aren't sure happened before the chase or why he was running from police.

Foster is being held on bonds totaling $66,000.