 Jacobs noted the relationship between the two tales, and an Irish variant, "Smallhead," and concluded that the tale was Celtic in origin.It is Aarne-Thompson (ATU) type 327B, the small boy defeats the ogre – although, unusually, it is a girl who defeats the ogre.Others of this type include "Esben and the Witch" and "Hop o' My Thumb".