Maryland police say they are closing in on a 24-year-old man suspected of shooting a Baltimore County officer before critically wounding a second officer during a daylong pursuit to apprehend him.

David Emory Linthicum has been on the run since Wednesday after initially shooting a Baltimore County officer in an incident that sparked a widespread search, forcing local residents to shelter-in-place, county officials and police said.

The manhunt began after officers with the Baltimore County Police Department responded to reports of a person in crisis in Cockeysville, about 20 miles north of Baltimore, around 2:30 p.m. ET Wednesday, the police said. Baltimore County government in a statement.

David Emory Linthicum.Baltimore County Police Department

When they arrived, a relative of the suspect escorted them to Linthicum, who discharged a firearm shortly thereafter, county officials said.

A Baltimore County police officer was injured and was taken to an area hospital, they said. The officer was later released, Baltimore County Police Department Chief Dennis Delp said at a news conference Thursday.

A manhunt for the suspect was launched and during the search, a detective was seriously injured with multiple gunshot wounds after what Delp called a «very quick encounter» with an «individual we believe was involved in a police shooting.» He said the incident was still under investigation and did not provide further details. It is still unclear what unfolded in the lead up to the meeting.

He said the FBI and other authorities were involved in the search for the suspect.

Early Friday morning, the Harford County Sheriff’s Office said authorities had been able to track the suspect to an area in Fallston. However, the suspect had not yet been apprehended, he said.

Residents of the affected areas were asked to shelter in place Wednesday while authorities searched for the suspect. The shelter-in-place advisory remained in effect Thursday as residents were asked to «remain vigilant and aware of their surroundings.» The closure of schools in the area was also announced.

County officials described Linthicum as 5-foot-7, 165 pounds with auburn hair, brown eyes and a beard. It was believed that she was wearing a pair of dark shorts and a short-sleeved dark shirt.

Officials urged anyone with information on Linthicum’s whereabouts to contact 410-887-2222, 911 or Metro Crime Stoppers at 1-866-7-LOCKUP.