TAYLORS, S.C. (AP) — The Latest on a South Carolina police officer shooting a suspect (all times local):

1:50 p.m.

A police officer in South Carolina had a gun pointed at him but did not fire on the suspect because there were people behind the gunman.

Greenville County Sheriff Steve Loftis says a second deputy got a clear shot at 52-year-old Reginald Darnell Dogan on Monday night and wounded him in the neck.

The sheriff praised his officers for being careful and for immediately giving Dogan first aid. Loftis says the situation was especially dangerous because Dogan was in an area with a Walmart and several restaurants.

Loftis says Dogan is in critical condition. No one else was injured.

The State Law Enforcement Division is investigating the shooting. The identity of the officers has not been released.

Seven of the 62 police shootings since the start of 2015 in South Carolina have involved Greenville County deputies.

___

8 a.m.

The South Carolina Law Enforcement Division is investigating after a deputy shot a man authorities say was waving a gun in Greenville County.

Sheriff's 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 saw the suspect and requested backup.

Autrey says when the backup deputy arrived, the suspect began walking toward him. The backup deputy repeatedly told the suspect to get on the ground and the suspect didn't comply.

Autrey says the deputy then shot the suspect. The suspect was taken to a hospital and was in critical condition Monday night.

SLED spokesman Thom Berry says agents are investigating the shooting. Berry said the suspect is black and both deputies are white.