Now, after several days' travel, he came to a market town in Wales, where he beheld a large concourse of people gathered together. The king's son demanded the reason of it, and was told that they had arrested a corpse for many large sums of money which the deceased owed when he died. The king's son replied, "It is a pity that creditors should be so cruel; go bury the dead, and let his creditors come to my lodging, and their debts shall be discharged." Accordingly they came in great numbers, so that he left himself moneyless.

Now, Jack the Giant-Killer being there, and, seeing the generosity of the king's son, he was taken with him, and desired to be his servant. It was agreed upon the next morning, when, riding out at the town-end, the king's son, turning to Jack, said, "I cannot tell how I will subsist in my intended journey." "For that," quoth Jack, "take you no care: let me alone; I warrant you we will not want."

Now, Jack, having a spell in his pocket, which served at noon for a refreshment, when done, they had not one penny left betwixt them. The afternoon they spent in travel and discourse, till the sun began to grow low, at which time the king's son said, "Jack, since we have no money, where can we think to lodge this night?" Jack replied, "We'll do well enough, for I have an uncle living within two miles of this. He is a monstrous giant with three heads; he will fight 500 men in armour, and make them to fly before him." "Alas!" saith the king's son, "what shall we do there? He will certainly chop us both up at one mouthful!" "It is no matter for that," quoth Jack; "I will go before and prepare the way for you. Tarry here."

He waits, and Jack rides full speed; when he came to the castle, he knocked with such a force that he made all the neighbouring hills to resound. The giant, with a voice like thunder, roared out, "Who's there?" He answered, "None but your own cousin Jack. Dear uncle, heavy news, God wot." "Prithee, what heavy news can come to me? I am a giant with three heads, and besides thou knowest I can fight five hundred men." "O! but," quoth Jack, "here's the king's son coming with 1,000 men to kill you." "Oh! Jack, this is heavy news indeed. I have a large vault under ground, where I will hide myself, and thou shalt lock, bolt, and bar me in, and keep the keys till the king's son is gone."

Jack having secured the giant, he returned and fetched his master. They were both heartily merry with the wine and other dainties which were in the house; so that night they rested in very pleasant lodgings, whilst the poor uncle the giant lay trembling in the vault under ground.

Early in the morning Jack furnished his master with a supply of gold and silver, and set him three miles forward on his journey, concluding he was then pretty well out of the smell of the giant, and then returned to let his uncle out of the hole, who asked Jack what he would give him in reward, since his castle was not demolished. "Why," quoth Jack, "I desire nothing but the old coat and cap, together with the old rusty sword and slippers which are at your bed-head." "Jack, thou shalt have them, and pray keep them for my sake, for they are things of excellent use. The coat will keep you invisible; the cap will furnish you with knowledge; the sword cuts asunder whatever you strike, and the shoes are of extraordinary swiftness: these may be serviceable to you, and therefore pray take them with all my heart." Jack takes them, thanking his uncle, and follows his master.

Jack, having overtaken his master, soon after arrived at the lady's house, who, finding the king's son to be a suitor, prepared a banquet for him, and, being ended, she wiped his mouth with her napkin, saying, "You must show this to-morrow, or else lose your head," and she put it safely into her bosom.

The king's son went to bed sorrowful, but Jack's cap of knowledge instructed him how to obtain it. In the middle of the night she called upon her familiar spirit to carry her to Lucifer. Jack put on his coat of darkness, with his shoes of swiftness, and was there as soon as her; by reason of his coat they could not see him. When she entered the place she gave the handkerchief to old Lucifer, who laid it carefully upon a shelf, from whence Jack brought it to his master, who showed it to the lady the next day.

The next night she saluted the king's son, telling him he must show her to-morrow morning the lips that she kissed last this night, or lose his head. "Ah," replied he, "if you kiss none but mine I will." "It is neither here nor there," said she; "if you do not, death's your portion." At midnight she went as before, and was angry with Lucifer for letting the handkerchief go. "But now," said she, "I will be too hard for the king's son, for I will kiss thee, and he's to show thy lips." Jack, standing near him with his sword of sharpness, cut off the devil's head, and brought it under his invisible coat to his master, who was in bed, and laid it at the end of his bolster. In the morning, when the lady came up, he pulled it out by the horns, and showed her the devil's lips, which she kissed last.

Thus, having answered her twice, the enchantment broke, and the evil spirits left her, at which time she appeared a beautiful and virtuous creature. They were married next morning in great pomp and solemnity, and returned with a numerous company to the court of King Arthur, where they were received with the greatest joy and loud acclamations Jack, for the many and great exploits he had done for the good of his country, was made one of the Knights of the Round Table.