Security footage has captured the moment a US inmate lunged for a deputy's gun in court before officers pried the weapon from his hands.
Robert Lewis Bridges III, 24, was shackled and handcuffed while waiting for his case to be called inside the Florida court.
As the deputy, Master Sgt Tracey Wallace, crossed the courtroom where up to 25 people sat, Bridges grabbed her .40-calibre gun with both hands.
She can be seen struggling with Bridges before two other officers come to her aid.
A sheriff's office spokesman credited Ms Wallace's quick thinking and defensive actions and a tight retention holster for preventing a "tragic incident".
"When he pounced, she was already predisposed to react," the spokesman said.
Bridges, who was in court on felony charges of burglary, third-degree grand theft, obstructing an officer and tampering with electronic equipment, was taken to a holding cell.
The Hillsborough County inmate had battery on a law enforcement officer and depriving an officer of means of protection added to his list of charges, with a status hearing set at a later date.
Author: Chloe Ross, Approving editor: Matthew Henry