The suspect, Brooks S. Perry, 28, was pulled over in a Hyundai for speeding on eastbound Route 50 near Easton Airport around midnight Thursday, police said. Perry allegedly appeared drunk and was acting suspiciously, asking troopers if they were going to call for backup. Police said he gave troopers a false name and said he had no identification on him.

As troopers called for backup, Perry drove away from the stop and was followed by police for about seven miles before he stopped near a golf course, got out of the car and ran away, police said. Perry climbed a chain link fence and at the top of the fence, pulled out a gun and fired at troopers, police said.

Dozens of police officers from several nearby agencies joined the hunt, which ended when a woman who lives on Goldsborough Neck Road in Easton called 911 to report that a man matching Perry's description had knocked on her door around 8 a.m. Several other people in that area also reported seeing him, police said. A state police helicopter used an infra-red camera to confirm a heat source nearby, and police surrounded him in an area of high marsh grass along Glebe Creek Road. Perry came out with his hands up around 1:30 p.m., police said. He had no major injuries.

Perry, whose last known address was in Milford, Del, is charged with two counts each of attempted first-degree murder; attempted second-degree murder; first degree assault; second-degree assault; reckless endangerment; and use of a firearm in the commission of a felony/violent crime; and one count of fraudulent personal identification to avoid prosecution. He is also charged with multiple traffic charges and is wanted on a separate traffic warrant in Delaware, where his driver's license is suspended.

Resh, the corporal who exchanged fire with Perry, will be placed on routine administrative leave while the matter is investigated internally, police said.

Perry is being taken to the Talbot County Detention Center for his initial appearance before a court commissioner. The gun has not been found, and the investigation is ongoing.

Anyone with information may call the Maryland State Police Easton Barrack at 410-819-4747.

Prosecutors announced new indictments Monday of Baltimore jail staff, the same day a top corrections official testified in the federal corruption trial of eight inmates and corrections officers about the difficulty containing misconduct in the system.