An Austin police sergeant was hit with a Taser about 10 a.m. Saturday after a struggle with a man knocked the weapon loose, according to an arrest warrant affidavit.

Justin Scott, 22, was charged with a third-degree felony of taking a weapon from a peace officer.

A police sergeant, identified only by the last name White, responded to a report of a burglary in the Windsor Park area of East Austin, where he saw Scott speaking to another person he could not see, the affidavit said. When Scott noticed the sergeant, the document said, he began quickly walking in the other direction.

While the officer questioned Scott, it said, he began to tense up and seemed to be planning on running away. In an attempt to detain Scott, it said, the sergeant tried to place the man in handcuffs but he resisted.

According to the document, the sergeant threatened to use his Taser if the struggle continued, and when Scott continued to resist, the officer pulled his Taser and aimed it at Scott. Scott attempted to grab the Taser and the pair struggled over it, it said, with Scott recovering the weapon after if fell to the ground and then turning it on the sergeant.

The officer was struck on the hand and the pair continued to wrestle over the weapon until the sergeant eventually pinned Scott to the ground with the Taser under his body, according to the document. The sergeant was able to hold Scott down until other officers arrived and handcuffed him, it said.

Scott is being held at the Travis County Jail with bail set at $10,000.