Edward Kelty, 20, who is accused of striking an Orlando Police officer with a vehicle in 2015 while the officer was responding to a call, agreed to a plea deal Tuesday morning.

Kelty pleaded no contest to count one, aggravated battery on a law enforcement officer causing great bodily harm. He faces life in prison and there is a minimum of almost nine years in prison. Sentencing will be at 1 p.m., Friday, Oct. 20, 2017.

Back in March of this year, prosecutors decided not to strike the deal with Kelty, who is accused of striking former officer William Anderson, who uses a cane to walk. At the time, Anderson was against any deal that would have put Kelty away for a maximum of 15 years.

"You shouldn't be able to hit a police officer with a car, have that officer go into surgery and have that officer almost die- doctors realize they don't know if you're going to make it and then only do eight years," Anderson said following the plea.

Kelty was initially charged with attempted second-degree murder on Anderson, aggravated battery causing great bodily harm and leaving the scene of a crash with serious bodily injury, according to Orange County court records.

On July 13, 2015, Anderson responded to a call that shots were fired near Kirkman and Vineland roads around 3 a.m.

He attempted to make a traffic stop at the intersection, approached a car with his gun drawn when the passenger fled and Kelty allegedly hit the gas and struck Anderson, who was in front of the vehicle at the time.

Anderson now can no longer work as an Orlando Police Department officer, suffering from chronic pain in his back and neck. He requires a cane and assistance with a service dog named Polo because of his pain and impaired vision. 

"He took my career because of his actions that night," Anderson said.