 The movie is based upon the first two books in  Lloyd Alexander (qv)s Prydain Chronicles ("The Book of Three" and  "The Black Cauldron"). The Chronicles, in turn, are loosely based on  the mythology of ancient Wales, a collection of tales known as the  Mabinogion.