NAMPA -- A Nampa man who ran from police and barricaded himself in a shed Thursday morning has surrendered, ending a standoff that lasted several hours.

Nampa police said Nathan Cody Nourse, 27, was arrested after more than two hours of negotiations with police over the phone. Charges against him are pending and will be based on the investigation's outcome, officials said.

Nampa Police Sgt. Tim Riha said the incident started when Nampa Police was asked to help Caldwell police with a pursuit at 10:08 a.m. The fleeing suspect was driving into Nampa from Caldwell, Riha said.

The pursuit entered Nampa near Caldwell Boulevard and Middleton Road. It continued to Interstate 84 and went eastbound to Exit 35, then continued on 6th Street North and proceeded eastbound. The pursuing officer lost sight of the car for a brief time.

Police said the they were told that the suspect had a firearm.

The suspect vehicle - described as a red Pontiac G6 with fictitious plates - was spotted in the driveway at a residence in the 400 block of 7th Avenue North, and the home wasn't occupied.

The suspect was was found in a shed behind the residence, and officers saw that he had a firearm when they first contacted him. They backed out of the shed at tried to talk to the man, then he entered the shed's doorway and holding a firearm.

A Nampa officer fired one shot toward Nourse, but he wasn't hit. He stayed inside the shed, but he communicated with officers.

Members of the Nampa Police Special Operations Group responded, and negotiators contacted Nourse over the phone. Negotiations lasted about two-and-a-half hours, and Nourse exited the shed abd gave up peacefully at around 1:15 p.m.

Police said two firearms were found in the shed

No one was injured in the standoff, Riha said. 7th Avenue North was blocked while police worked.

The incident remains under investigation