The fictional Shawshank State Penitentiary is located in rural Maine. An exact location is not given, although Andy Dufresne, the story's main character, is from Portland, Maine.
Stephen King wrote "Rita Hayworth and the Shawshank Redemption,” published in 1982. King is a resident of Maine and frequently uses the state as a setting in his novels. Other King stories that take place in Maine include "Salem's Lot," "It" and "Cujo." King's book was adapted in 1994 as "The Shawkshank Redemption" starring Tim Robbins and Morgan Freeman. Although nominated for seven Oscars, the film was a box office disappointment. "The Shawshank Redemption" has since become very popular, with critics often citing it as one of the greatest films ever made.