The riot began after prisoners received threats from inmates accused of belonging to a violent criminal group.