In its first 100 years, the local prison went from the least successful in the country to a global role model.