The other two people suffered some bruises, but no serious injuries.
The dead man was identified by police as Allan Mejia Martinez.
The names of the two others, a
16-year-old San Leandro boy and a
22-year-old man who lived with Martinez, were not released.
The attack and shooting happened about 2:24 a.m. Saturday near the intersection of Bancroft and 90th avenues.
Sgt. Jim Rullamas said Martinez and the 22-year-old man were taking the teenager home and were on their way to get some gas for the Jaguar they were in. They had just left a party at the 94th Avenue home where they lived.
Rullamas said the men were driving westbound on Bancroft when they were caught up in a sideshow involving dozens of vehicles also going westbound on Bancroft.
Rullamas said that Martinez and the others were stopped in traffic when several people from another vehicle got out and began yelling a gang name and started pounding the car and punching Martinez and his passengers.
One of the attackers then pulled a gun and started shooting into the car, Rullamas said. More than a half-dozen shots were fired by the gunman before the suspects drove off.
Martinez was the only one wounded by the gunfire. As he lay bleeding, the 22-year-old man drove them back to the 94th Avenue residence were police and paramedics were called by distraught and highly emotional relatives and friends, police said.
Martinez was taken to Highland Hospital, where he died at 3:02 a.m.
Rullamas said police were told neither Martinez or the others with him were gang members, and he is not sure why they were attacked.
Rullamas said police were told Martinez worked as a landscaper at a Moraga golf course. He said police were told Martinez was not married and had no children.
The killing was Oakland's 89th homicide of the year. Last year at this time there were 97 homicides.
Police and Crime Stoppers of Oakland are offering up to $20,000 in reward money for information leading to the suspects' arrests. Anyone with information can call police at 238-3821 or Crime Stoppers at 238-6946.