Associated Press

GREENVILLE, S.C. - A suspect was killed and a Greenville officer was hurt in a shooting outside police headquarters.

Interim Police Chief Mike Gambrell told local reporters that the shooting happened shortly before 10:30 p.m. Monday after a man fired several shots into the door when he was unable to enter the locked Greenville County Law Enforcement Center.

The suspect's name has not been released.

"It looks like the suspect suffered a self-inflicted gunshot wound," Gambrell said.

The injured officer has been with the department for five years, the police chief said. The officer, whose name was not released, was in serious condition after being shot twice in the side and once in the hand.

"First thing I want to do is encourage everybody to pray for our officers because we have an officer in surgery at the hospital," Gambrell said at an overnight news conference.

A police spokesman did not immediately return a message Tuesday morning.

Officers in the law enforcement center were not hurt in the shooting and called for backup. The injured officer was the first to arrive in response to their call, Gambrell said.

He confronted the gunman, who fired at least three shots that hit the officer, Gambrell said. The officer fired once.

It was not clear why the suspect had gone to the law enforcement center, but investigators think he may have been connected to a shooting death earlier Monday, Gambrell said. One man was shot to death in that shooting that appeared to be family-related. The man's name was not available.

The State Law Enforcement Division is investigating the shooting at the law enforcement center.