The first known novels to be set on a desert island were Philosophus Autodidactus written by Ibn Tufail (1105–1185), followed by Theologus Autodidactus written by Ibn al-Nafis (1213–1288). The protagonists in both (Hayy in Philosophus Autodidactus and Kamil in Theologus Autodidactus) are feral children living in seclusion on a deserted island, until they eventually come in contact with castaways from the outside world who are stranded on the island. The story of Theologus Autodidactus, however, extends beyond the deserted island setting when the castaways take Kamil back to civilization with them.[3]