It happened overnight in the 1000 block of South Sixth Street.
Police were searching for a wanted person when they came across a man with a loaded pistol.
When they asked him to drop his weapon, he refused.
A scuffle then ensued, and that's when the suspect tried reaching for an officer's gun.
Luckily nobody was hurt.
The suspect has been booked on attempted murder charges.