Answer by
mannersandsuch (1796)
In the book Swiss Family Robinson by Robert Louis Stevenson, the family of the Robinson escapes there sinking ship and rows to shore. They then set up a settlement on island where they meet a local girl and end up settling. They also fight off pirates who attack the island that they are staying on.