The suspected gunman in the shooting of an NYPD officer prides himself on being known as "Hell-Raiser" and has a history of violent clashes with police, officials said Sunday.

Demetrius Blackwell, 35, lunged for a detective's badge in a 2013 confrontation and spat at the detective, Queens Assistant District Attorney Peter J. McCormack said as Blackwell was arraigned on attempted murder and other charges Sunday.

Blackwell boasted about his vicious image to police officers Saturday night when he was arrested in connection with the Saturday shooting of Brian Moore and taken to the 105th Precinct in Queens Village, McCormack said.

StoryComplaint for defendant Demetrius BlackwellSee alsoSee a map of the shootingMoreComplete coverage

"They call me 'D.' They also call me 'Hell-Raiser' on the street," McCormack said Blackwell told police.

NYPD Commissioner William Bratton said late Saturday that Blackwell has an "extensive arrest history, including criminal possession of a weapon and robbery."

Blackwell came to the attention of the NYPD in 1998 when he went into a precinct house, started yelling and became belligerent, a police source said. Blackwell was escorted out of the precinct house and reported as emotionally disturbed.

advertisement | advertise on newsday

He has five prior arrests by the NYPD, on charges of criminal possession of a weapon, robbery, grand larceny and assault -- twice -- between 1999 and 2013, a police spokesman said.

Blackwell has been behind bars on charges of attempted murder before, serving a full 5-year sentence in jail and in the upstate Clinton Correctional Facility for a 2000 incident in which he pointed a handgun, demanded property and fired shots at a car, according to state Department of Correctional Services records.

He served another year after violating parole and was cited as having "poor institutional adjustment," records show.

Get the Newsday Now newsletter!

The best of Newsday every day in your inbox.

In November, Blackwell allegedly threatened a person in the neighborhood with a gun, smashed a first-floor window and then broke the person's car windshield using a brick, the police official said.

Blackwell recently has been staying in the homes of friends, mainly in the Queens Village area, near where the shooting took place, according to the source. Blackwell is married with three children, defense attorney David Bart of Flushing, Queens, said. He is a cousin of former Giants defensive back Kory Blackwell, a source confirmed.

With Anthony M. DeStefano, Nicole Fuller and Ivan Pereira