When the festival was announced, the youth went out into the woods and called Iron Hans.
"What do you need?" he asked.
"To catch the princess's golden apple."
"It is as good as done," said Iron Hans. "And further, you shall have a suit of red armor and ride on a spirited chestnut horse."
When the day came, the youth galloped up, took his place among the knights, and was recognized by no one. The princess came forward and threw a golden apple to the knights. He was the only one who caught it, and as soon as he had it, he galloped away.
On the second day Iron Hans had outfitted him as a white knight, and had given him a white horse. Again he was the only one who caught the apple. Without lingering an instant, he galloped away with it.
The king grew angry and said, "That is not allowed. He must appear before me and tell me his name."
He gave the order that if the knight who caught the apple, were to go away again, they should pursue him, and if he would not come back willingly, they were to strike and stab at him.
On the third day, he received from Iron Hans a suit of black armor and a black horse, and he caught the apple again. But when he was galloping away with it, the king's men pursued him, and one of them got so close to him that he wounded the youth's leg with the point of his sword. In spite of this he escaped from them, but his horse jumped so violently that his helmet fell from his head, and they could see that he had golden hair. They rode back and reported everything to the king.
The next day the princess asked the gardener about his boy.
"He is at work in the garden. The strange fellow has been at the festival too. He came home only yesterday evening. And furthermore, he showed my children three golden apples that he had won."
The king had him summoned, and he appeared, again with his cap on his head. But the princess went up to him and took it off. His golden hair fell down over his shoulders, and he was so handsome that everyone was amazed.
"Are you the knight who came to the festival every day, each time in a different color, and who caught the three golden apples?" asked the king.
"Yes," he answered, "and here are the apples," taking them out of his pocket, and returning them to the king. "If you need more proof, you can see the wound that your men gave me when they were chasing me. But I am also the knight who helped you to your victory over your enemies."
"If you can perform deeds like these then you are not a gardener's boy. Tell me, who is your father?"
"My father is a powerful king, and I have as much gold as I might need."
"I can see," said the king, "that I owe you thanks. Can I do anything for you?"
"Yes," he answered. "You can indeed. Give me your daughter for my wife."
The maiden laughed and said, "He does not care much for ceremony, but I already had seen from his golden hair that he was not a gardener's boy," and then she went and kissed him.
His father and mother came to the wedding, and were filled with joy, for they had given up all hope of ever seeing their dear son again.
While they sitting at the wedding feast, the music suddenly stopped, the doors opened, and a proud king came in with a great retinue. He walked up to the youth, embraced him, and said, "I am Iron Hans. I had been transformed into a wild man by a magic spell, but you have broken the spell. All the treasures that I possess shall belong to you."