FERNDALE, Md. — Two police officers ordered to remove firearms from a house on a “red flag” protective order fatally shot an armed man Monday morning in Ferndale, Maryland, police said.

Anne Arundel County Police arrived at the house at 5:17 a.m. to remove guns from the home under a new law that temporarily allows for the seizure of firearms if a person shows “red flags” that they are a danger to themselves or others, CBS Baltimore reports.

A man, later identified by police as 61-year-old Gary Willis, answered his door with a gun in his hand, Anne Arundel County Police Sgt. Jacklyn Davis said.

Sgt. Davis said after seeing it was the cops the man put the gun down.

Moments later the two officers serving a new Extreme Risk Protective Order (Red Flag Law), a Maryland protective order to remove guns from a household, shot and killed the man listed on that order.

“Under the law, family, police, mental health professionals can all ask for the protective orders to remove weapons,” said Sgt. Jacklyn David, with Anne Arundel County Police.

That man was identified as Gary J. Willis of same address.

Officials claim that when they began to serve him the order, Willis became irate and grabbed his gun. It is unclear if the man was picking it up to give to them or to open fire.

One of the officers saw him and grabbed the gun from Willis. The gun was discharged.

The second officer then opened fire, striking Willis. He died at the scene.

Neither of the officers were injured. Their names weren’t released.

It wasn’t clear why the “red flag” order was issued. A spokeswoman for the Maryland Judiciary denied a request from the Baltimore Sun to release protection order requests associated with the home, citing the law which states the orders are confidential unless a court rules otherwise.

Michele Willis, the man’s niece, told The Baltimore Sun that one of her aunts requested the protective order against Willis, but she declined to say why.

She said police stopped by the home to speak with her uncle Sunday night. He lived above the garage and several other family members also lived in the home. Those who were there during the shooting were being questioned by police Monday morning, The Sun reported.

Willis said her uncle “likes to speak his mind,” but “wouldn’t hurt anybody.”

“I’m just dumbfounded right now,” she said. “They didn’t need to do what they did.”

Maryland is one of several states that passed “red flag” laws since the high school mass shooting in Parkland, Florida, earlier this year. Maryland’s law, which went into effect Oct. 1, is more broad in that it allows certain health care providers to seek an order, in addition to family members and law enforcement.