A suspect was shot and killed by Sacramento police after a standoff Tuesday evening in the Northgate area of Sacramento, officials say.

The shooting happened in the 500 block of Wisconsin Ave. Police spokesperson Sgt. Sabrina Briggs said the suspect, who was not identified, was wanted for attempted homicide on an officer.

Officers reportedly found the suspect around 4 pm. in a residence on Wisconsin Avenue with several other people. SWAT and crisis negotiators responded to the scene and were able to get the other people out of the home, police said. After negotiating with the suspect for several hours, police say he exited the residence out the back and tried to hop a fence.