(CNN) -- Three inmates were shot and wounded by guards Friday during an escape attempt at a Livingston, Texas, prison, officials said.





The incident started about 9 p.m. (10 p.m. ET) when inmates were leaving a church service at a gymnasium in the prison, said Jason Clark, a spokesman for the Texas Department of Criminal Justice.





While walking back from the church service, five inmates jumped an interior fence in an attempt to flee, officials said.





Guards opened fire, wounding three of the inmates. All five were captured and the wounded inmates were taken to a hospital, Clark said.





CNN's Leslie Tripp contributed to this report.
What is the number of inmates that got out? How many were injured? What were the inmates doing prior to trying to escape? How many inmates tried to escape? Where were inamtes before the attempt? How many inmates were wounded? Where was the prison?
Three Three leaving a church service at a gymnasium five Livingston, Three Livingston,
question: What is the number of inmates that got out?, answer: Three | question: How many were injured?, answer: Three | question: What were the inmates doing prior to trying to escape?, answer: leaving a church service at a gymnasium | question: How many inmates tried to escape?, answer: five | question: Where were inamtes before the attempt?, answer: Livingston, | question: How many inmates were wounded?, answer: Three | question: Where was the prison?, answer: Livingston,