An off-duty policeman's gun went off twice as he pulled down his pants to use the toilet, injuring a man.
Officer Craig Clancy was attending a car auction in San Antonio when nature called.
As he undid his trousers, the gun fell from its holster.
Officer Clancy tried to catch it, but accidentally fired two bullets when his finger grabbed the trigger by mistake.
Police spokesman Gabe Trevino told KSAT news: "As Clancy tried to stop the gun from hitting the ground, his finger entered the trigger guard, which cause the weapon to go off twice.
"The first bullet went through the wall of the cubicle and through the pants of a man, grazing his leg."
The injured man, who was washing his hands at the time, was taken to hospital.
The department for internal affairs is investigating the incident.
Tip of the stetson to Ananova.