SAN FRANCISCO—A 21-year-old San Francisco man was shot in the chest on Friday afternoon when a car pulled up alongside him and unexpectedly opened fire – the victim fled toward the Bayview Police station, which was less than a mile away.

At approximately 10:30 a.m., the victim—who has not been identified—was driving on Third Street near Fitzgerald Avenue when a dark-colored sedan pulled alongside him and one of three people inside opened fire, according to the San Francisco Police Department.

The victim was shot in the chest and immediately fled, according to reports; he sped down Third Street toward the Bayview station—located at 201 Williams Ave.—drove onto the sidewalk and parked his car right directly in front of the station’s doors. The car’s rear window was blown out.

Police on scene provided immediate aid while they waited for the paramedics to arrive; the victim was taken to San Francisco General Hospital with life-threating wounds, SFPD spokesman Officer Carlos Manfredi told San Francisco News. It was later confirmed that the victim was expected to survive.

Police cordoned off the front of the Bayview station with crime scene tape and closed the lobby, Manfredi said.

Northbound Third Street was temporarily closed where the shooting occurred; San Francisco Municipal Railway buses were rerouted to avoid the area.

No arrests have been made and the incident is under investigation. No other information was immediately available.

Anyone with information about the shooting is encouraged to call the Police Department’s anonymous tip line at (415) 575-4444 or to send a tip by text message to TIP411 with “SFPD” in the message.