A man who spent nearly half of the past decade in Georgia prisons was arrested Monday after being accused of pulling out a gun at a Covington Home Depot and pointing it at four people.

Cedric Deon Williams, 30, of Social Circle, was arrested on several felonies after the 7:30 a.m. incident at the store at 13171 Ga. 142, Covington police said in a news release.

Officers responded to the location after a 911 caller said a man was running through the parking lot with a handgun, the release said. When police arrived, Williams dropped the gun and complied with the officers’ orders.

Witnesses told officers that Williams was “acting erratically and became enraged” with a Home Depot employee who was trying to help him make a call on the store’s phone, the release said. Williams is accused of pulling out a .380 caliber pistol and threatening four nearby people.

Williams was arrested on four counts of aggravated assault and possession of a firearm by a convicted felon, the release said. AJC.com has reached out to the Newton County Sheriff’s Office to learn more about his custody.

“Thanks to the reaction of those in the store and the quick response by the (Covington Police Department), specifically Officer Kevin Thompson, this dangerous situation did not escalate any further and we were able to get this individual off our streets,” Capt. Ken Malcom said in the release.

Since 2009, Williams has spent nearly four and a half years in prison, according to Georgia Department of Corrections records.

He’s been previously convicted of aggravated assault, possession of marijuana with intent to distribute, possession of cocaine and firearm possession among other charges in Newton and Rockdale counties.

In other news:

The GBI takes over the investigation into a police-involved shooting.