SAN FRANCISCO — Police say a man was shot late Saturday afternoon in downtown San Francisco — just a few blocks from one of the city’s Pride festivities.

Officers responded at 5:15 p.m. to a report for multiple shots being fired on the on the 1000 block of Market Street, said Sgt. Dennis Toomer.

A preliminary investigation revealed that a man, age 20-30 was struck by shrapnel and suffered a non life-threatening injury to his head. He was transported to a local hospital for a medical evaluation.

No one else was injured.

Police said they do not know whether the victim was the intended target.

A motive was not immediately known, Toomer said, but the firearm used in the shooting was recovered by police and a suspect in his 20s has been arrested.

The suspect’s name has not been released.

The shooting remained under investigation on Saturday and police did not release any additional information about the incident.

Anyone with information about the shooting is asked to call the department’s confidential tip line at 415-575-4444 or text a tip to “TIP 411”. Place “SFPD” in subject line.

Contact Natalie Neysa Alund at 510-293-2469. Follow her at Twitter.com/nataliealund.