Roseville standoff suspect Samuel Nathan Duran was placed in an ambulance after surrendering to police.

ROSEVILLE, CA - A standoff in a Roseville neighborhood ended after more than nine hours when the suspect surrendered.

The incident started around 3 p.m. when an U.S. Immigration and Customs Enforcement's (ICE) agent was shot while working with the Roseville Police Department in an investigation into 32-year-old Samuel Nathan Duran. The ICE agent was shot at a dirt bike park on Riverside Avenue.

The shooting of a peace officer elicited the response of multiple local and federal law enforcement agencies.

Witnesses said it appeared the ICE agent's leg wound was accidentally self-inflicted, but that was not confirmed by authorities. The agent was listed in fair condition at Sutter Roseville Hospital with non-life threatening injuries.

ICE spokesperson Virginia Kice provided this statement:

A special agent with U.S. Immigration and Customs Enforcement's (ICE) Homeland Security Investigations (HSI) was shot Friday afternoon shortly after 3 p.m. while conducting a joint enforcement action with investigators from the police department in Roseville, Calif. The special agent was rushed to a local hospital where he is now reported to be stable and alert. Additional HSI agents are en route to the incident scene and will be assisting the Roseville Police Department with the ongoing investigation.

Roseville police Lt. Cal Walstad said Duran was a parolee at large and they had been looking for him for a week. During the ensuring manhunt and standoff, police considered Duran armed and dangerous.

Duran's aunt Donna Sandoval said Duran knew authorities were looking for him and added, "he was on the run."

Duran then ran from the bike park and to his aunt's home on Windsor Drive. Officers chased Duran to the home, where he then ran from law enforcement again.

Walstad said Duran then broke into the home on 6th Street and Hampton Drive where he barricaded himself. It was unclear who lived at that home.

Around 5 p.m., gunshots were heard from the area of the home on Hampton Drive. The Roseville Police Department said two of their officers were wounded by gunshot rounds and one by bullet fragments. One officer was shot in the shoulder and was listed in fair condition at the hospital. Another officer was shot in the jaw and was listed in serious condition. The officer hit by shrapnel was treated and then released from the hospital.

During the standoff, negotiators talked to Duran via phone and bullhorn on and off throughout the night. Duran's family also urged him to surrender. Law enforcement's last communication with Duran was at 10:45 p.m. Friday, police said.

A robot was then sent into the home. Walstad said negotiators talked to Duran through the robot. They gave him instructions via the robot on how to surrender.

Around 12:30 a.m. Saturday, Duran walked out of the home with his hands up. He was then placed on a gurney and loaded onto an ambulance.

Walstad said Duran suffered superficial injuries and was trasported to the hospital for medical treatment. On Saturday, Duran was released from the hospital and booked into Placer County Jail.

During the standoff, residents were told to stay inside and lock doors and windows. Buses were brought in to take residents unable to go home because of the police barricade to the Maidu Community Center. The center was closed Saturday morning after all displaced residents left.

Even after the standoff ended, residents were unable to immediately return to their homes because the area was still considered a crime scene.

Walstad said crime scene investigators will process the crime scenes at the park and the two homes. It was unclear how long that will take.