Ben Gunn was marooned on Treasure Island by his mutinous crewmates (led by Long John Silver) three years before the main story begins. He was the former first mate of the Hispaniola. During his isolation, he survived by foraging, built a shelter, and discovered Captain Flint's buried treasure cache.