(WHTM) – A man wanted for robbery and firearms charges evaded arrest for hours from Camp Hill Police and U.S. Marshals on Thursday, prompting area schools to temporarily lock down.

According to Camp Hill Police, officers attempted to serve an arrest warrant for Brian Acosta Melendez for an incident on Sept. 4 in Sunbury, Northumberland County.

Police say Acosta Melendez was apprehended by U.S. Marshals without incident after he fled the area on foot upon officers arriving at his residence. He was found in the 600 block of Dauphin Street in Harrisburg City with the assistance of the Harrisburg City Bureau of Police and Dauphin County Adult Probation.

Camp Hill Police say the Camp Hill School District was on a two hour delay and a lockdown was prompted as police searched the area.

Earlier Acosta Melendez was seen by a witness in the area of N. 17th Street and Nigh Street heading east. Police added they do not believe the public is in danger.

The Camp Hill School District says its lockdown has been lifted.

Stay up to date on the latest from abc27 News on-air and on the go with the free abc27 Mobile app.