A police officer shot and killed an armed, 60-year-old man in Anne Arundel County early Monday, officials said, in the first of two police shootings in the region.

Officers from Prince George’s County exchanged gunfire Monday in Camp Springs and wounded a man during an investigation of a suspected auto theft ring, Prince George’s Police Chief Hank Stawinski said.

In the Anne Arundel shooting, police said officers were serving an “extreme risk” protective order on a man, who was later identified as Gary J. Willis, in the 100 block of Linwood Road in Glen Burnie.

That type of protective order, known as the “red flag law,” took effect Oct. 1 and is intended to get weapons out of the hands of people who are a danger to others or themselves.

When police arrived just after 5 a.m., Willis answered the door holding a gun. He put the gun on a table next to the door, said Sgt. Jacklyn Davis, a police spokeswoman.

But as officers started to serve the order, Willis “became irate,” police said. He opened the door to the home and grabbed the gun, according to police.

An officer tried to take the gun from him, but Willis fired, officials said. A second officer fired, striking Willis. Willis was pronounced dead at the scene.

No officers were injured. Police did not identify the officer who fired.

On Tuesday, police identified the officers involved as Crpl. J. Hooper and 1st Class G. Zawodny. Both officers are five-year veterans of the department and in the Bureau of Patrol.

The department did not disclose the officers’ first names, which is the agency’s policy. Both officers have been placed on administrative leave, also under the department’s policy.

Davis said police did not have access to the underlying protective order that explained the need for police to retrieve weapons in his possession.

Police had been called to the same home about 6 p.m. Sunday, and during that encounter, an officer advised an occupant to get a protective order, police spokesman Marc Limansky said. It was not clear what prompted the Sunday evening call, but the incident did not rise at that time to a need for further police action, he said.

Attempts to locate and contact relatives of Willis were unsuccessful Monday.

The shooting in Prince George’s occurred when a man who fired a handgun at police investigating an auto theft ring was injured after officers returned fire Monday afternoon in Camp Springs, the chief said.

The man was in stable condition at a hospital Monday, and no officers were injured, Stawinski said at a news conference.

The incident began about 2:30 p.m. outside an apartment complex in the 6200 block of Maxwell Road, Stawinski said.

Members of the Washington Area Vehicle Enforcement team — a regional task force of law enforcement agencies that investigates auto thefts — were doing surveillance on a car that had been reported stolen in Prince George’s, Stawinski said.

Officers saw a man armed with a handgun approaching the vehicle in the parking lot, Stawinski said. Plainclothes officers, who had outerwear that showed they were law enforcement, announced they were police, and the man opened fire, Stawinski said.

The gunman and two detectives exchanged at least 10 rounds before the man was struck, Stawinski said. The detectives gave aid to the gunman before he was taken to a hospital, the chief said.

Police have not released the identity of the man in custody, who was undergoing medical treatment but was in stable condition as of late Monday.

The man is suspected to be part of a larger carjacking and auto theft ring that has been operating in the region, Stawinski said. Police released a photo of a handgun they said they retrieved from the scene that was equipped with a 30-round magazine.

The two officers who fired their weapons are on routine administrative leave as the case is being reviewed by internal investigators and the Prince George’s County State’s Attorney’s Office.

Clarence Williams contributed to this report