Hundreds of prisoners released