Written at the end of Twain's career, Extracts from Adam's Diary was first published in 1897. Twain's Adam was based on himself.