DeWayne Craddock — identified by authorities as the gunman who killed 12 people in a shooting rampage — was technically still employed as an engineer with the Department of Public Utilities when he went on his violent spree on Friday afternoon.

But recently the 40-year-old African-American had started showing serious behavioral problems and even got into physical “scuffles” with other city workers, a source told The New York Times, as The New York Post also reported.

The source told the publication the troubles had increased last week — and that Craddock (shown below, right, in the tweet) was involved in “a violent altercation on city grounds.”

The gunman, according to reports, knew he was facing disciplinary action for that fight when he entered the municipal building on Friday armed with two .45-caliber handguns, at least one of which was equipped with a sound suppressor. Both guns were purchased legally.

He also apparently emailed his two-weeks’ notice on Friday morning; officials confirmed Sunday that he had quit his job via email, but stressed that he had not been fired. They were still trying to track down the communication, they said.

Craddock murdered 12 people, all but one of them a city co-worker.

Who do you think would win the Presidency?

By completing the poll, you agree to receive emails from LifeZette, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

He also injured several others before perishing during a prolonged shootout with police. The same law enforcement officers he had been trying to kill then turned to administering first aid moments later, authorities said, after the suspect went down.

Related: Democrat Omar of Minnesota Blames NRA for Virginia Beach Shooting

Four individuals are said to be in critical condition.

Dave Hansen, Virginia Beach’s city manager, said at a press conference over the weekend that all but one of the victims were city employees — most of whom he knew personally.

“Sixteen hours ago the lives of 12 people were cut short by a senseless, incomprehensible act of violence,” Hansen told the media on Saturday morning.

“They leave a void that we will never be able to fill.”

“All but one of the 12 victims were employees of the city of Virginia Beach. I have worked with most of them for many years. We want you to know who they were so in the days and weeks to come you will learn what they meant to all of us, to their families, to their friends and to their coworkers. They leave a void that we will never be able to fill.”

Craddock’s family posted a handwritten note outside their home in Yorktown, Virginia, offering “heartfelt condolences to the victims,” according to The Washington Post.

“We are grieving the loss of our loved one. At this time we wish to focus on the victims and the lives loss [sic] during yesterday’s tragic event,” the note said, in part.

James A. Cervera, the Virginia Beach police chief, said Craddock had worked for the city for about 15 years and that he entered the public works building on the city’s municipal services complex.

Share your thoughts below.