SAN ANTONIO (CBSDFW.COM/AP) — Investigators in San Antonio say an inmate tried to escape through the ceiling of his cell but was caught after setting off a sprinkler system.

The Bexar County Sheriff’s Office says Matthew Fields was being held Wednesday on his initial count of trespassing, pending other charges. Authorities say Fields is expected to face escape and criminal mischief charges, plus assault on a public servant.

READ MORE: Decades Later, Family Gets Apology From Dallas Police Over Death Of 12-Year-Old Santos Rodriguez

Two deputies suffered minor injuries pursuing the 24-year-old Fields.

READ MORE: Nobel Prize-Winning Physicist Steven Weinberg Dies At 88 In Texas Hospital

Fields never left the secure jail area. He was located in the infirmary after allegedly climbing into the ceiling of his cell, getting into a stairwell and opening a sprinkler valve. Parts of the basement flooded.

Online records Wednesday did not list an attorney representing Fields.

MORE NEWS: 1 Dead, 1 Injured In Shooting Involving Fight In Irving, Police Say

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)