Three Northern Nevada police officers were shot and wounded Friday after a traffic stop in the Reno area quickly turned into a shootout between the officers and the suspect, police said.

Chris Crawforth, police chief in nearby Sparks, said at a news conference Saturday that the injured officers, two Sparks police officers and a Washoe County sheriff’s deputy, were treated for their injuries and released from the hospital.

The violent standoff ended around 10:30 p.m. on Friday when officers found the suspect dead inside a stranger’s home where he had been hiding, Crawforth said.

The episode began with a traffic control about nine hours earlier. When the Sparks police officer approached the vehicle, the driver pulled out a handgun and fired through the window, Crawford said.

The driver fled the scene, but crashed the vehicle and then fled on foot, leading officers from three agencies to a suburban neighborhood a few miles east of Reno.

Police closed nearby streets, evacuated homes and told residents to stay within a four-square-block perimeter of the neighborhood.

According to Crawforth, officers approached a home where the suspect was seen entering. An “elderly resident” opened the door and fell to the floor as the suspect opened fire on officers, he said.

That’s when the Washoe County deputy and a second Sparks police officer were shot, Crawforth said.

The suspect ran and from the backyard of another home once again began shooting at the officers before going inside.

The suspect on “several occasions” fired at officers, who returned fire, he said.

Details of how the suspect died have not been released.