The Life and Adventures of Robinson Crusoe is a novel by Daniel Defoe that was first published in 1719. Epistolary, confessional, and didactic in form, the book is a fictional autobiography of the title character-a castaway who spends 28 years on a remote tropical island near Trinidad, encountering cannibals, captives, and mutineers before being rescued. The story was perhaps influenced by the life of Alexander Selkirk, a Scottish castaway who lived for four years on the Pacific island called "M's a Tierra", Chile. The details of Crusoe's island were probably based on the Caribbean island of Tobago, since that island lies a short distance north of the Venezuelan coast near the mouth of the Orinoco river, in sight of Trinidad. It is possible that Defoe was inspired by the Latin or English translations of Ibn Tufail's Hayy ibn Yaqdhan, an earlier novel also set on a desert island.