OAKLAND -- Police shot and killed a man who showed a gun after fleeing in a car that crashed while it was being chased by police Monday afternoon, officials said.

No officers were hurt. Police said they recovered a handgun from where the man fell after he was shot and an assault rifle from inside the red Lincoln.

It was not immediately clear whether the man had pointed the gun or fired at officers.

The man, whose named was not released, was a passenger in a Lincoln that was believed to have been involved in a gang-related shooting that happened Friday in West Oakland, police said. Shots were fired into a home there, but no one was injured, police said.

Undercover officers in an unmarked police car spotted the vehicle about 2:15 p.m. Monday on Martin Luther King Jr. Way and followed it to Interstate 580 and back off the freeway to 35th Avenue, Thomason said.

When marked patrol cars tried to stop the vehicle, it sped away, leading officers on a chase through city streets before the car crashed into a fence in front of a house at E. 33rd Street and 13th Avenue.

Four suspects fled the vehicle, Thomason said. Several officers chased the group and two officers followed the man who was ultimately killed.

The man showed a handgun, and the officers shot him multiple times, Thomason said.

Two other suspects were captured and a final suspect was still at large while police searched a blocked-off area from 13th to Park avenues, and from MacArthur Boulevard to E. 31st Street. Search dogs and a helicopter aided in the search.

The final suspect had not been found as darkness fell.

The suspect's death marked the fourth fatal police shooting this year, and the first since officers on Nov. 8 killed Derrick Jones, a 37-year-old domestic violence suspect who turned out to be unarmed.

Homicide detectives and internal affairs investigators began investigations into the shooting and the Alameda County District Attorney's office will conduct one as well.

Anyone with information is asked to call police at 510-238-3821.

Staff writer Kristin Bender contributed to this report.