SEATTLE  A man suspected of fatally shooting four uniformed police officers was shot and killed on a residential street here early Tuesday by a police officer who chanced upon him during a routine patrol when investigating a stolen car, the authorities said.

The death of the man, Maurice Clemmons, ended an extensive manhunt as Mr. Clemmons, 37, eluded multiple police sweeps and SWAT team investigations of houses and neighborhoods throughout Seattle and nearby Tacoma for nearly 48 hours.

When Mr. Clemmons was killed, officials said, he was carrying a gun that had belonged to one of the four officers, who were shot Sunday morning at a coffee shop near Tacoma. They also said he had a previous bullet wound to his stomach from a shot fired by one of four officers.

Even as the manhunt ended, the case became layered with arrests of people accused of helping Mr. Clemmons flee the police and continued to raise questions over how he had been released from jail just last week despite multiple pending felony charges and a lengthy criminal history.