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: North Texas' Real Estate Frenzy Appears To Be About Over, Experts Say

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

READ MORE: 'This Is A Phenomenal Opportunity': Nico Estévez Hired As New Head Coach Of FC Dallas

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: Texas Extending Emergency SNAP Benefits Through December

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