TAYLORS, S.C. (AP) – The South Carolina Law Enforcement Division is investigating after a deputy shot a man authorities say was waving a gun in Greenville County.

Greenville County Sheriff’s Office Sgt. Jennings Autrey tells news outlets deputies responded to a report of a suspect waving a gun Monday night near a Wal-Mart in Taylors. The responding deputy made contact with the suspect and requested backup.

Autrey says that when the backup deputy arrived, the suspect began walking toward him. The backup deputy, with his gun drawn, repeatedly told the suspect to get on the ground and the suspect didn’t comply.

Autrey says the backup deputy then shot the suspect. The suspect was taken to a hospital and his condition was unknown Monday night.

Thom Berry, public information officer for the South Carolina Law Enforcement Division, says SLED agents are investigating.

The races of the deputy and the suspect weren’t immediately available.