<Tr> <Th> Budget </Th> <Td> $25 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $58.3 million </Td> </Tr> <P> The Shawshank Redemption is a 1994 American drama film written and directed by Frank Darabont, based on the 1982 Stephen King novella Rita Hayworth and Shawshank Redemption . It tells the story of banker Andy Dufresne (Tim Robbins), who is sentenced to life in Shawshank State Penitentiary for the murder of his wife and her lover, despite his claims of innocence . Over the following two decades, he befriends a fellow prisoner, contraband smuggler Ellis "Red" Redding (Morgan Freeman), and becomes instrumental in a money laundering operation led by the prison warden Samuel Norton (Bob Gunton). William Sadler, Clancy Brown, Gil Bellows, and James Whitmore appear in supporting roles . </P> <P> Darabont purchased the film rights to King's story in 1987, but development did not begin until five years later when he wrote the script over an eight - week period . Two weeks after submitting his script to the Castle Rock Entertainment film studio, Darabont secured a $25 million budget to produce The Shawshank Redemption, which started pre-production in January 1993 . While the film is set in Maine, principal photography took place almost entirely in Mansfield, Ohio, with the Ohio State Reformatory serving as the eponymous penitentiary . The project attracted many notable stars of the time for the lead roles including Tom Hanks, Tom Cruise, and Kevin Costner . Thomas Newman provided the film's score . </P>

Who played andy dufresne in the shawshank redemption