Two people are dead and one critically injured after their car smashed into a semi truck after the driver fled authorities in Hayward.

Alameda County Sheriff's spokesman J.D. Nelson says deputies on DUI enforcement tried to pull the car over around 1 a.m. Wednesday after witnessing the vehicle driving erratically.

Nelson says the car ran a red light before hitting the trailer of a Safeway semi truck and crashing into a building.

Two people were killed and a third is in critical condition.

Authorities say the driver is on parole for carjacking and on probation for a drug-related charge. He and a fourth passenger suffered minor injuries.

No identities have been released.