<Tr> <Th> Title </Th> <Td> Pirate Captain </Td> </Tr> <Tr> <Th> Nationality </Th> <Td> English </Td> </Tr> <P> Captain J. Flint is a fictional 18th - century pirate captain who features in a number of novels, television series, and films . The original character was created by the Scottish writer Robert Louis Stevenson (1850 - 1894). Flint first appears in the classic adventure yarn Treasure Island, which was first serialised in a children's magazine in 1881, and later published as a novel in 1883 . </P> <P> Captain Flint is one of the main characters in the book Treasure Island, created by Robert Louis Stevenson in 1883 . In Stevenson's book, Flint, whose first name is not given, was the captain of a pirate ship, The Walrus, which accumulated an enormous amount of captured treasure, approximately £ 700,000 . Flint and six members of his crew bury the plunder on an island located somewhere in the Caribbean Sea . Flint then murders his six assistants, leaving the corpse of one, Allardyce, with its arms outstretched in the direction of the buried treasure . </P>

Who is captain flint based on black sails
find me the text answering this question