WEST HEMPSTEAD, N.Y. (AP) — A man suspected of shooting three workers inside a manager's office at a Long Island grocery store Tuesday, killing one of them, was arrested after fleeing the scene and remaining at large for several hours, police said.

Nassau County Executive Laura Curran tweeted around 3:15 p.m. Tuesday that Gabriel DeWitt Wilson was in police custody. Information on charges and a lawyer who could speak on Wilson's behalf wasn't immediately available.

The shooting happened around 11 a.m. inside an office upstairs from the shopping floor at the Stop & Shop supermarket in West Hempstead, Nassau County Police Commissioner Patrick Ryder said.

There were about a “couple hundred” shoppers inside the store at the time, he said.

“They told us to just run and get out, and that’s what we did,” shopper Laura Catanese told News 12 Long Island.

Barbara Butterman told Newsday she heard four or five shots while shopping for produce, initially thinking the sound was something falling in the back storeroom.

“Everyone was running around upstairs where offices were,” Butterman told the newspaper.

The name of the victims have not been made public. The man who was killed was a 49-year-old store employee, Ryder said. The two wounded were hospitalized and were conscious and alert.

Police identified the suspected gunman as Wilson and gave a date of birth for him indicating he is 31 years old. He had been employed by that store, but it was unclear whether he was still working there, Ryder said.

Wilson was wearing all black and carrying a small handgun as he fled westbound on Hempstead Turnpike, Ryder told reporters at a news conference. He was arrested after police converged on a neighborhood in nearby Hempstead, which is east of the grocery store.

Curran told News 12 that law enforcement “cast a wide net to locate the shooter.” She said the shooting was “one of the most serious incidents we've had in a very, very long time.”

The shooting in West Hempstead followed a rash of recent mass shootings across the county, including one on March 22 that left 10 people dead at a supermarket in Boulder, Colorado.

Video of the aftermath of the shooting showed police cars and ambulances parked in front of the store, officers with long guns and yellow crime scene tape draped across the entrance.

Curran said nearby schools have been told not to admit visitors and residents were asked to remain indoors.

Gov. Andrew Cuomo said he was directing state police to assist local police.

“I’m praying for the victims, and my heart breaks for their families and loved ones,” Cuomo said in a statement.

West Hempstead is near the New York City-Nassau County border and about 30 miles (50 kilometers) east of midtown Manhattan.

Stop & Shop President Gordon Reid said in a statement that the company is “shocked and heartbroken by this act of violence” and that the West Hempstead store will remain closed until further notice.

“Our hearts go out to the families of the victims, our associates, customers and the first responders who have responded heroically to this tragic situation,” Reid said.

Stop & Shop is a grocery chain in the northeastern U.S. owned by the Dutch company Ahold Delhaize.

Copyright 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.