The dead included both prisoners and prison guards, while a number of prisoners were shot dead as they attempted to flee after airstrikes struck the prison.