SAN FRANCISCO (CBS/AP) — Police say two motorcyclists died after they crashed while trying to escape gunfire in a San Francisco neighborhood.

Officer Gordon Shyy said the victims had been riding on motorcycles when they encountered gunfire in the Bayview District around 5 p.m. Sunday.

READ MORE: Police Arrest Santa Rosa Man After Butane Explosion Rips Through Parking Lot

He said they crashed while trying to flee the area and suffered serious injuries.

Both were taken to a hospital, where they died.

READ MORE: Concord Man Gets Year In Jail After Pleading Guilty To Soliciting Child For Sex

Shyy said at least one of the victims had been shot.

Shy said investigators were trying to determine who fired the gunshots, and whether the victims were targeted.

Medical examiners will conduct autopsies to determine whether each victim died as a result of a crash, gunfire, or both.

MORE NEWS: 1 Dead, 1 Injured In Vallejo Shooting On Same Block Where Double Shooting Last Week Injured 2

© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.