Three prison guards were among those killed during the riot, the second in the last six months.