WEATHERFORD, Texas (CBSNewYork/AP) — Authorities say several inmates at a Texas jail broke out of a holding cell to help save an armed guard after they saw him lose consciousness.

The jailer continues to recover from an apparent heart attack, according to reports. The June 23 incident was captured on surveillance video at the district courts building in Weatherford.

READ MORE: Broadway Returns After Nearly 17-Month Shutdown With 1st Performances Of 'Pass Over'

At least eight inmates were in a basement holding cell when the lone guard slumped and fell. Inmates yelled for help, broke out of the cell and banged on doors.

READ MORE: New Jersey's Own Athing Mu And Sydney McLaughlin Set Olympic Records

Sheriff’s deputies rushed to the basement, corralled the inmates back into the cell and summoned paramedics, who revived the guard.

Parker County sheriff’s Capt. Mark Arnett cited the inmates’ quick response, saying 15 minutes could have passed before a staff member found the guard.

MORE NEWS: Long Island Bus Driver Charged With DWI, Leaving Scene Of 2 Accidents

(TM and © Copyright 2016 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2016 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)