Investigators earlier in the day were looking for Philip Oshea, a 46-year-old suspect in a robbery at a suburban West Palm Beach bar around 4 a.m., the Palm Beach Post reported.
Three deputies are on administrative leave, following sheriff's office policy, according to the Palm Beach Post.
Gunfire was exchanged between deputies and O'Shea and the suspect was killed.
None of the officers suffered injuries during the shootout, thanks in no small part to K9 Kasper.
PBSO said K9 Kasper caught a bullet during a shootout with a suspect but is going to recover.
Bartenders called 911 and deputies were in pursuit within a couple minutes, but he crashed the vehicle he was driving, according to the Palm Beach Post.More news: Lewis Hamilton top in Spanish Grand Prix practice with upgraded Mercedes
More news: Sushi lovers at risk of parasites in fish
More news: More from Build: Microsoft unveils cross-device vision for Windows 10
Palm Beach Sheriff's Office K-9 officer Casper was hit in the hindquarters during a Friday shootout in Jupiter between deputies and a suspect authorities described as "very risky".
Palm Beach County authorities say he then carjacked a woman and drove away.
Oshea fired shots at deputies while they attempted to apprehend him. Casper is now recovering and in stable condition.
State law enforcement agents will investigate the shooting.
A man wanted for armed robbery in Raleigh died Friday in a shootout with Palm Beach County sheriff's deputies in Jupiter, Fla., according to the Palm Beach Post.