A San Tan Valley homeowner foiled two teen burglars early Saturday morning with a samurai sword, according to a Pinal County Sheriff's spokesman.

According to public-information officer Tim Gaffney, the homeowner came to his house near Copper Mine and Morenci roads and found the two teens inside.

One of them, a 16-year-old male, fled the scene. The homeowner used a martial-arts sword, known as a katana, to detain the other teen, forcing him to wait on the couch until police arrived.

Deputies took the 15-year-old into custody and later arrested the second teen after his father contacted the Sheriff's Office, Gaffney said.

One of the teens showed deputies where he discarded a backpack used during the burglary. The backpack contained about $900 worth of items taken from the house, including four watches, a tablet device and some antique coins.

"They are fortunate that this case ended with them just being arrested and that they were not injured by the homeowner who came home to find them burglarizing his home," Sheriff Paul Babeu said in a press release.

Both teens admitted to committing the burglary, Gaffney said. They were booked into the Juvenile Detention Center on suspicion of burglary and possession of burglary tools.