Columbia, SC (WLTX) - A man who killed an aspiring Columbia teacher will spend the next 50 years behind bars.

Ibin Kenta Patterson, 47, entered a guilty plea Tuesday morning at the Richland County courthouse, admitted to charges of murder, attempted murder, possession of a weapon during the commission of a violent crime, and possession of a firearm and ammunition by a person convicted of a felony.

Back in 2015, Patterson shot and killed 32-year-old Timothy Green at the corner of Beauford Street and River Drive. Officer say Green was working to become a teacher and helped disabled citizens.

Patterson also shot at a Columbia Police officer at the intersection of Taylor and Two Notch Road around the same time. The officer was responding to an armed robbery when Patterson fired at him.

Officers say Patterson tried to hide on a building's rooftop to get away from police, but after several hours, he was arrested.