Police take Eulalio Tordil, 62, a suspect in three fatal shootings in the Washington, D.C., area into custody in Bethesda, Md., Friday, May 6, 2016. Tordil is an employee of the Federal Protective Service, which provides security at federal properties. He was put on administrative duties in March after a protective order was issued against him. (AP Photo/Alex Brandon)
Police take Eulalio Tordil, 62, a suspect in three fatal shootings in the Washington, D.C., area into custody in Bethesda, Md., Friday, May 6, 2016. Tordil is an employee of the Federal Protective Service, which provides security at federal properties. He was put on administrative duties in March after a protective order was issued against him. (AP Photo/Alex Brandon) Credit: ap — Alex Brandon

Silver Spring, Md. — A federal security officer suspected in three fatal shootings outside a high school, a mall and a supermarket in the Washington area was arrested Friday, police said. Three people were also wounded in the shootings.

Eulalio Tordil, an employee of the Federal Protective Service, which provides security at federal properties, was taken into custody without incident near the supermarket, the scene of the last shooting, authorities said. The brief manhunt and seemingly indiscriminate shootings rekindled fears of the D.C. sniper in 2002, which paralyzed the nation’s capital and its suburbs.

Officers trailed Tordil for an hour, watching him walk from store to store at a shopping center as they waited for the right time to arrest him. He had earlier threatened to “commit suicide by cop” and authorities wanted to make sure the public was safe when he was arrested.

Tordil was put on administrative duties in March after a protective order was issued against him when his wife said he had threatened to harm her if she left him, The Washington Post reported. Tordil subjected their children to “intense-military-like discipline,” like pushups and detention in a dark closet, according to the order.

Authorities said Tordil followed his 44-year-old wife Gladys to their children’s high school Thursday. As she waited in an SUV in the parking lot of High Point High, Tordil confronted her and shot her. He also shot and wounded a man who tried to intervene.

On Friday morning, about 15 miles from the school, police responded to a shooting at the Westfield Montgomery Mall in Bethesda. One person was initially shot and two others may have been shot coming to that person’s aid, said Montgomery County Police Assistant Chief Darryl McSwain. A man died and another one was in critical condition. A woman had injuries that were not life-threatening.

About a half an hour later, while police were still on the scene at the mall, they got call of a shooting at a Giant Food store in Aspen Hill, about 5 miles away. A woman who was sitting in her car was shot and killed, authorities said.

Tordil was spotted by officers and when he returned to his car, officers surrounded him. A weapon was found in Tordil’s car.

Friday evening, Prince George’s County Police charged Tordil with first-degree murder in the shooting death of his estranged wife.