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.

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 Animal Control and Care officers responded to the scene.

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.

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.