The Mayor of Casterbridge (1886) is a tragic novel by English author Thomas Hardy subtitled, 'The Life and Death of a Man of Character'. It is set in the fictional town of Casterbridge (based on the town of Dorchester in Dorset). The book is one of Hardy's Wessex novels, all set in a fictional rustic England.
A poor, disgruntled, drunken young man sells his wife and child to the highest bidder. When he awakens, sober, the next day he regrets his rash act and vows to give up drink and find his family and bring them home. Eventually he is forced to give up the search and move on with his life. He does this quite successfully until, nearly 20 years later, his past comes back to haunt him.
In the original subtitle, Hardy called this the story of 'a man of character,' and the central character, Michael Henchard, is one of English fiction's greatest creations. Henchard is deeply developed as a realistic character, but also larger-than-life in the manner of a Greek or Shakespearean tragic hero - huge in his determination and huge in his failings. The novel deals with the struggles between individual will, the hold of the past, and the relentless control of circumstances in a changing society.