OAKLAND -- A man was hit by a car and killed early Monday while walking near Oakland International Airport after the vehicle he had been riding in was impounded, police said.

Police said the victim was 42, but his name was not released pending notification of relatives. Police were also trying to determine where he lived.

Police said the man and three other people were driving in Alameda shortly before 5 a.m. Monday when they were stopped in the 2900 block of Otis Drive for speeding. A 38-year-old man driving the car had a suspended California driver's license and was cited for the misdemeanor offense. Alameda police impounded the car for 30 days, which is required by law.

The others were not allowed to drive the car because they did not have valid licenses or were impaired, authorities said. The officers twice offered a cab ride to the group at their expense, but they declined the offer.

The group took off on foot and were walking in the 7200 block of Doolittle Drive near the entrance to Martin Luther King Jr. Regional Shoreline Park about 6:06 a.m. when one man was hit by a car. Police said the man may have been partially in the roadway.

The driver of the car, an Alameda resident on his way to work, stopped and tried to aid the injured man, who was later pronounced dead at the scene, police said. No one else was injured.

Alameda police said the car was originally stopped in a well-lit residential neighborhood with paved sidewalks on both sides of the road. The group, however, had walked 1.7 miles into Oakland when the fatal collision occurred.

The subsequent police investigation shut down traffic in both directions of heavily traveled Doolittle between Swan Way and Langley Street for several hours. Oakland police are continuing to investigate the case.