SALEM — An attempt to arrest a fugitive on Wednesday ended in a standoff with police and a slew of new charges, including attempted murder.

Eric S. Smith, 26, of Quinton, held police at bay for about three hours before being taken into custody, Salem County Prosecutor John T. Lenahan told NJ.com.

Schools were place on lockdown and the nearby courthouse was evacuated as negotiations between Smith and a State Police crisis negotiator convinced him to surrender.

The incident began about 11:30 a.m. when Smith fired at three U.S. Marshals as he climbed out of a window of his girlfriend's second-floor apartment, Lenahan said.

One of the officers returned fire but no one was injured, according to Lenahan.

Smith climbed into the window of a neighboring, unoccupied apartment where he held off police for about three hours.

Members of his family were part of the negotiations to end the incident.

Smith faces charges of attempted murder, four charges of aggravated assault and unlawful possession of a handgun, according to the Salem County Jail website.

One of the warrants, according to the report, was in connection with Smith leading police on a short pursuit on Jan. 7 in Salem after backing his car into a police car and a gas pump during a police stop. Officers smelled marijuana in Smith's car, according to the warrant.

Police Chief John W. Pelura on Wednesday said the other warrant was regarding a missed court appearance.

Smith is at the Salem County Jail pending a detention hearing.

Contact reporter Dan Alexander at Dan.Alexander@townsquaremedia.com or via Twitter @DanAlexanderNJ

Sign up for the WPG Talk Radio 104.1 Newsletter

Get South Jersey news and information e-mailed to you every week.