SAN FRANCISCO (KCBS) — An officer shot and killed a vicious dog at a housing development in San Francisco’s Potrero Hill neighborhood Saturday.

Police were conducting a routine check on a vacant unit near 25th and Connecticut Streets when the dog charged and cornered the officer.

READ MORE: UPDATE: Atmospheric River Crashes Onshore; Flood Warning Issued For Napa, Sonoma Counties

The officer, in turn, fired one round, killing the dog.

Witnesses say the dog had a reputation with neighbors, who had nicknamed him ‘Psycho.’

READ MORE: Atmospheric River Whipped Winds Roar Through Bay Area; Toppling Dozens Of Drought-Weakened Trees

Officers routinely check vacant units in public housing developments for squatters and criminals.

Police arrested the dog’s owner on charges of trespassing.

MORE NEWS: Atmospheric River: PG&E Crews Respond to Widespread Bay Area Outages

Officers told KCBS the man was known for taking over units.