SAN FRANCISCO (CBS SF) — A dog was shot by San Francisco police near 5th and Market Streets after allegedly advancing on an officer, authorities said Wednesday.

The shooting was a police use-of-force incident that happened at around 3:45 p.m. on Cyril Magnin Street.

READ MORE: BART Ridership Nears Pre-Pandemic Level Monday as Hours Expand

SFPD said the dog advanced on one of the officers on patrol in the area. The officer retreated and then shot his firearm at the dog, who was struck once.

San Francisco police on the scene of a shooting involving a dog.

San Francisco Animal Control and Care officers responded to the scene.

READ MORE: Dixie Fire: Thundershowers, Downdrafts Whip Up Flames; Ash Fall 'Looks Like It's Snowing In Quincy'

Several witnesses described the dog as a bull terrier to KPIX 5. The dog was apparently riding in a shopping cart being pushed by a homeless man.

Police questioned the homeless man and arrested him afterward. When asked why he was being arrested, the man said he had a warrant out, but did not elaborate. Police did not disclose details about the man’s arrest Wednesday.

There were no humans hit. The dog was transported to an emergency veterinary hospital for treatment, but it was eventually euthanized, police said.

MORE NEWS: Dramatic Pursuit Video: Brazen Driver Attempts To Elude Arrest By Driving Wrong Way; Two Attempted Carjackings

The incident is being investigated by Tenderloin Station. Anyone with information is asked to call the SFPD 24 hour tip line at 1-415-575-4444 or Text a Tip toTIP411 and begin the text message with SFPD.