"Josiah, throw the sword away, OK? Hey, stop, stop! Don't move, stop. Stop, stop!" the deputy eventually yells.

The bodycam footage then shows Smith falling backwards as he is tased by police.

"Smith was non-compliant with deputies’ lawful commands, refusing to drop the sword or get on the ground. Deputies used a less lethal launcher, shooting a foam round at Smith in order to get him to drop the sword," the Alachua County Sheriff's Office said. "Unsuccessful, deputies deployed a taser, and Smith was detained."

An investigation into the incident revealed that Smith and the alleged victim did not know each other, according to the sheriff’s office.

Smith was taken into custody and is now facing charges of armed burglary of an occupied dwelling, aggravated assault with a deadly weapon, armed kidnapping and resisting without violence.