The eleven then left the inn without a moment's delay, and toiled along the whole night and the next day, until at last, on the following evening, they reached the home of the twelve girls. But to get in was not such an easy task, for the place was fenced round with strong iron rails, the gate was also very strong and made of iron, and the latch was so heavy that it took more than six powerful men to lift it. The eleven brothers made their horses prance about and bade them to kick against the latch, but all their manoeuvres were of no avail—they could not move the latch.

But what has become of Jack? where did he tarry? His foal knew only too well where the girls could be found, and how they could be got at; so he did not budge from the inn until late in the afternoon, and spent his time eating and drinking. His brothers were still busily engaged with the latch, hammering at it and kicking, when at last, just when the people were lighting the candles at dusk, the brothers discovered Jack approaching high up in the air on his foal. As soon as he reached the gate he wheeled round, the foal gave a tremendous kick at the latch, whereupon the gate, and with it a portion of the railing, heeled over into the dust. The landlady, a diabolical old witch, then came running to the gate with a lamp in her hand, and said: "I knew Jack that you had arrived, and I have come and opened the gate." This statement was of course not true.

The lads entered the house, where they found the twelve girls all standing in a row. With regard to the age of the maidens they corresponded to those of the lads; and when it came to choice, the eldest lad fell in love with the eldest girl, the youngest lad with the youngest maid, and so on, every lad with the girl of his own age. They sat down to supper, each girl by the side of her beau; they ate and drank, enjoyed themselves, and the kissing had no end. At last they exchanged handkerchiefs. As it was getting late, and the young folks became sleepy, they all retired to rest. Beds were prepared for all twenty-four in a huge room; on one side stood the beds for the girls, on the other those for the lads. Just then the mischievous old witch, who was the girls' mother, walked out of the house, and muttered to herself:

"Now I have got you all in my net, you wretched crew, we shall see which of you will leave this place alive!"

It so happened that Jack went out to look after his foal; he took a bucketful of wine with him and gave his animal a drink, whereupon the foal spoke to him thus:

"I say, dear master! we have come to an awful place; that old witch intends to kill you all. At the same time don't be frightened, but do what I am about to tell you. After everybody has gone to bed, come out again and lead us horses out from these stables, and tie twelve horses belonging to the old witch in our places. With regard to yourselves, place your hats on to the girls' heads, and the old witch will mistake the maids, and slay them in your stead. I will send such a deep slumber over them that even a noise seven times as loud as you will make cannot wake them."

In conformity with the advice thus received, Jack re-entered the bedchamber, placed the twelve men's hats on to the heads of the girls; he then exchanged the horses, and went back to bed. Soon after the old witch commenced to whet a huge knife, which sent forth a shower of vivid sparks: she then approached the beds, groped about, and as soon as she discovered a hat, snap! off went a head, and so she went on until she had cut off all the girls' heads. Then she left the house, fetched a broad axe, sharpened it and went into the stables. Snap! off came the head of the first horse, then the next, till she had killed all twelve.

The foal then stamped upon the ground, whereupon Jack went out, and was thus spoken to by his foal:

"Now then, dear master! rouse up all your brothers, and tell them to saddle their horses! and let them get away from this place without a moment's delay. Don't let dawn overtake them here, or they are lost. You yourself can go back and finish your sleep."

Jack rushed in and with great difficulty roused them; and then informed them of the dangerous position they were in. After a great deal of trouble, they got up and left the place. Jack himself laid down and had a sound sleep. As soon as the first streaks of dawn appeared, the foal again stamped; Jack went out, sat upon it, and as they flew through the gate the foal gave the railing such a powerful kick that even the house tottered and fell. The old witch hereupon jumped up in great hurry, sat a-straddle an iron pole, and rode in pursuit of Jack.