A man being processed on a domestic violence charge grabbed a gun and shot and injured three officers at a police station in southern New Jersey before he was killed.

It happened at the Gloucester Township police station in Camden County when gunfire erupted inside around 5:45 a.m. Friday.

As the man was being processed on the complaint, he grabbed a gun and began firing. Three officers were hit before the suspect was shot and killed.

One officer suffered a gunshot wound to the abdomen and was undergoing surgery, said Deputy police Chief David Harkins. Two other officers suffered minor injuries.