SAN FRANCISCO (CBS SF) – A man was shot in San Francisco’s Richmond District early Wednesday morning after he pepper-sprayed a man who was behaving in a threatening manner, police said.

The victim was standing outside on California Street near 22nd Avenue shortly after midnight when he was approached by two men in their early 20s who asked for a cigarette.

READ MORE: Elderly Man Wielding Baseball Bat Chases Burglar From His Palo Alto Home

When the victim said no, one of the men reached into his hoodie pocket in a way that frightened the victim.

He pepper sprayed the two men, then was shot as he ran away, police said.

READ MORE: UPDATE: 2 Pedestrians Killed, 1 Hurt In Horrific San Jose Collision

The victim was taken to a hospital, but is expected to survive his injuries, police said.

The two suspects fled north on 22nd Avenue in a vehicle and had not been arrested as of Wednesday morning.

MORE NEWS: High-Power Weaponry Seized During Santa Rosa Safeway Parking Lot Arrest

© Copyright 2017 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.