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.

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

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.

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