Dozens of detainees released