maryland shootings man arrested todd tsr dnt_00014613.jpg
PHOTO: Prince George's County Police
maryland shootings man arrested todd tsr dnt_00014613.jpg
Now playing
01:55
Man arrested in three fatal shootings
PHOTO: Facebook
Now playing
01:09
Police: Bulgarian journalist raped, murdered
Authorities are investigating the scene in East Austin, Texas, after a teenager was killed and a woman was injured in the second Austin package explosion in the past two weeks Monday, March 12, 2018. Authorities say a package that exploded inside of an Austin home on Monday is believed to be linked to a deadly package sent to another home in Texas' capital city earlier this month. (Ricardo B. Brazziell/Austin American-Statesman via AP)
PHOTO: Ricardo B. Brazziell/Austin American-Statesman via AP
Authorities are investigating the scene in East Austin, Texas, after a teenager was killed and a woman was injured in the second Austin package explosion in the past two weeks Monday, March 12, 2018. Authorities say a package that exploded inside of an Austin home on Monday is believed to be linked to a deadly package sent to another home in Texas' capital city earlier this month. (Ricardo B. Brazziell/Austin American-Statesman via AP)
Now playing
02:05
Police: Deadly blasts in Texas connected
PHOTO: Spalding County Sheriff's Office
Now playing
01:28
Second killer pleads guilty in 1983 cold case
Frank Pomeroy, Wife AC360
PHOTO: CNN
Frank Pomeroy, Wife AC360
Now playing
05:55
Pastor's faith stronger after daughter's death
Left to right: Anthony Naiboa, Monica Hoffa, Benjamin Mitchell and Ronald Felton. Tampa homicide victims
PHOTO: Tampa Police Department
Left to right: Anthony Naiboa, Monica Hoffa, Benjamin Mitchell and Ronald Felton. Tampa homicide victims
Now playing
01:21
Tampa killings suspect arrested
PHOTO: CNN HLN
Now playing
00:47
Man to gunman: Shoot at me, not kids
charlottesville gunshot aclu virginia von_00000907.jpg
charlottesville gunshot aclu virginia von_00000907.jpg
Now playing
01:25
Man charged with firing gun at protesters
This undated still image from video provided by WTOV-TV in Steubenville, Ohio, shows Jefferson County, Ohio Judge Joseph Bruzzese Jr. Bruzzese was shot and wounded Monday, Aug. 21, 2017, as he walked toward his county's courthouse in Steubenville, Ohio, and a suspect was killed after a probation officer returned fire, officials said. (WTOV-TV via AP)
PHOTO: WTOV-TV /AP
This undated still image from video provided by WTOV-TV in Steubenville, Ohio, shows Jefferson County, Ohio Judge Joseph Bruzzese Jr. Bruzzese was shot and wounded Monday, Aug. 21, 2017, as he walked toward his county's courthouse in Steubenville, Ohio, and a suspect was killed after a probation officer returned fire, officials said. (WTOV-TV via AP)
Now playing
00:52
Ambushed judge returns fire, suspect dead
FILE- In this Oct. 5, 2016 file photo, Indian spiritual guru who calls himself Saint Dr. Gurmeet Ram Rahim Singh Ji Insan, center, greets followers as he arrives for a press conference ahead of the release of his new movie "MSG, The Warrior Lion Heart," in New Delhi, India. Several cities in north India were under a security lock down Thursday ahead of a verdict in a rape trial involving a controversial and hugely popular spiritual leader. (AP Photo/Tsering Topgyal, File)
PHOTO: Tsering Topgyal/AP
FILE- In this Oct. 5, 2016 file photo, Indian spiritual guru who calls himself Saint Dr. Gurmeet Ram Rahim Singh Ji Insan, center, greets followers as he arrives for a press conference ahead of the release of his new movie "MSG, The Warrior Lion Heart," in New Delhi, India. Several cities in north India were under a security lock down Thursday ahead of a verdict in a rape trial involving a controversial and hugely popular spiritual leader. (AP Photo/Tsering Topgyal, File)
Now playing
01:37
Deadly clashes after guru convicted of rape
PHOTO: Isra Chaker
Now playing
01:22
Death of Muslim teen near mosque investigated
Twitter post captions: Police and ambulances on Hackney/Queensbridge Road, possible acid/petrol attack. Lots of @UberEATS @Deliveroo drivers rallied round
PHOTO: @sarah_cobbold/Twitter
Twitter post captions: Police and ambulances on Hackney/Queensbridge Road, possible acid/petrol attack. Lots of @UberEATS @Deliveroo drivers rallied round
Now playing
01:27
5 acid attacks in 1 night in London
PHOTO: Walla News
Now playing
01:34
Authorities: Teen killed for dating Muslim
PHOTO: KDVR
Now playing
00:49
Veteran killed after saving teens
PHOTO: KATC
Now playing
02:06
Questions linger in Louisiana man's death
PHOTO: Bucks County Sheriff's Office
Now playing
01:16
Two men charged in homicides of missing men
(CNN) —  

A federal law enforcement officer sought in the fatal shootings of his estranged wife at a school, a man at a mall parking lot and a woman outside a grocery store has been arrested, police in Maryland said Friday.

Eulalio Tordil, 62, was taken into custody without incident after police spotted him inside a business close to the grocery store, Montgomery County police Chief J. Thomas Manger said.

Police waited about an hour to make the arrest, fearing Tordil was armed, and closed in when he got into his vehicle, Manger said. A weapon was found in the vehicle, he said.

Tordil is an employee of the Federal Protective Service, which protects federal facilities and is part of Homeland Security.

He was placed on administrative duties in March after a protective order was issued against him, the FPS said.

Estranged wife obtained protective order

In March 2016, a Prince George’s County district judge ordered that Tordil have no contact with his estranged wife, Gladys Tordil, and two minors thought to be their children.

According to the court documents, Tordil had access to at least three revolvers, which the court ordered him to carry only during work. He had to leave them at his workplace. The FPS said it went one step further after the protective order, removing Tordil’s duty weapon, badge and credentials.

Gladys Tordil alleged that Eulalio “has been subjecting them to intense military-like discipline – push ups, detention in dark closet,” according to the order. She said, “He threatened to harm me if I leave him,” the documents say.

Prince George’s County police charged Eulalio Tordil on Friday with first-degree murder in the shooting of his wife, the department said in a news release posted on its website. He was charged with assault for allegedly shooting a man who tried to intervene.

Montgomery County police have not announced any charges.

First shooting at high school

All the shootings happened in parking lots. Besides those killed, three people were wounded. Police said they don’t know whether Tordil had a relationship with any of the other people who were shot other than Gladys Tordil.

Law enforcement authorities had been looking for Tordil since Thursday, when Gladys Tordil, 44, was killed outside High Point High School in Beltsville in adjacent Prince George’s County, police said. The school was one of the places Tordil was ordered to stay away from in the court order.

It appeared Tordil followed her to the school property as she came to pick up her children and confronted her as she sat in her car, police said.

A passerby was shot as he tried to intervene and suffered non-life-threatening injuries, according to a police report. After the wife was shot multiple times, the gunman left the scene, police said.

Around 11 a.m. Friday morning, one man was fatally shot outside Westfield Montgomery mall in Bethesda, according to police. A man and woman were wounded, police said. The man is in critical condition and the woman in stable condition with non-life-threatening injuries, police said.

While officers were investigating that shooting, they received a call at 11:50 a.m. about a shooting in the Giant supermarket parking lot in Aspen Hill, Manger said. Officers found a woman fatally shot inside her vehicle.

Officers searching for the suspect found his vehicle in a nearby shopping center parking lot, then spotted him inside businesses, he said.

Manger said police decided not to confront Tordil right away because they thought he was armed. The suspect spent about an hour in various businesses and ate lunch at a Boston Market, the chief said.

“He was walking from store to store and at no point was it safe for us to take him into custody until we did,” Manger said. “We needed to make sure the public was safe when we took him into custody.”

When the suspect got in his car, police blocked the vehicle and made the arrest, the official said.

Tordil is expected in court at 1 p.m. Monday in Rockville District Court, police said.

Remembering the D.C. snipers

The area where Tordil was arrested had significance for residents of the District of Columbia.

The D.C.-area snipers, who killed 10 people in 2002, passed through the area, Montgomery County State’s Attorney John McCarthy said.

“They ate in the same restaurant where we were having the surveillance today, which was an irony that was not lost on me,” he said.

During three weeks in October 2002, John Allen Muhammad and accomplice Lee Boyd Malvo, then 17, killed 10 people and wounded three, while taunting police with written messages and phoned-in threats and demands.

Muhammed was executed in 2009. Malvo is serving a life sentence.

“Today’s incident was very reminiscent of fear that permeated throughout our communities during the 2002 sniper shootings,” Prince George’s County Executive Rushern L. Baker III said in a statement on the county government website. “It was also another harsh reality of the terror that gun violence can create.”

CNN’s Shimon Prokupecz, Mary Kay Mallonee, Javier De Diego, Karan Olson, Leslie Bentz and Alice Donaldson contributed to this report.