(CNN) Two men were killed and a man and woman were injured when a gunman opened fire in a Seattle street and then fled, leading to a fatal car accident.

The suspect, who has not been identified, was taken into custody Wednesday after a rampage that Seattle Police Deputy Chief Marc Garth Green described as a "random, senseless act."

Seattle police say that around 4:05 p.m. PT, a resident in the Lake City neighborhood walked outside with a handgun and approached a woman who was driving. He tried to carjack the vehicle, and in the process shot her, critically injuring her, authorities said.

Officials say the incident involved several carjackings.

Then the gunman walked into the street and fired at a Metro bus.

The bus driver was hit by the gunfire, but was able to turn the bus around and get away, police said.

Read More