It was written in the years before it was published in 1722. Daniel Defoe was only five years old in 1665, the year of the plague. The book is very realistic. It includes tables of plague deaths and discusses various accounts and anecdotes received by the narrator.