Officials say at least 1,300 prisoners were involved in the riot .