The word labyrinth comes to English from Greek, and it is connected to the story of the famous labyrinth which Daedalus built for King Minos in which King Minos imprisoned the Minotaur; later, the hero Theseus was able to enter the labyrinth, slay the Minotaur, and find his way back out, with the help of Ariadne's thread. You can read all about Daedalus, Minos, the Minotaur, Theseus, and Ariadne at Wikipedia.