The novelist and poet Thomas Hardy based the fictional town of Casterbridge on Dorchester, and his novel The Mayor of Casterbridge is set there. Hardy's childhood home is to the east of the town, and his town house, Max Gate, is owned by the National Trust and open to the public. Hardy is buried in Westminster Abbey, but his heart was removed and buried in Stinsford, southwest Dorset.