Just let the herald go through the town and proclaim that I will marry the young man to whom this lock of hair belongs, and then we will find him quickly enough.”

“What!” cried the prime-minister; “will, then, the princess marry a man who has nothing better than a little bit of good luck to help him along in the world?”

“Yes,” said the princess, “I shall if I can find him.”

So the herald was sent out around the town proclaiming that the princess would marry the man to whose head belonged the lock of hair that she had.

A lock of hair! Why, every man had lost a lock of hair! Maybe the princess could fit it on again, and then the fortune of him to whom it belonged would be made. All the men in the town crowded up to the king’s palace. But all for no use, for never a one of them was fitted with his own hair.

As for Jacob Stuck, he too had heard what the herald had proclaimed. Yes; he too had heard it, and his heart jumped and hopped within him like a young lamb in the spring-time. He knew whose hair it was the princess had. Away he went by himself, and rubbed up his piece of blue glass, and there stood the Genie.

“What are thy commands?” said he.

“I am,” said Jacob Stuck, “going up to the king’s palace to marry the princess, and I would have a proper escort.”

“To hear is to obey,” said the Genie.

He smote his hands together, and instantly there appeared a score of attendants who took Jacob Stuck, and led him into another room, and began clothing him in a suit so magnificent that it dazzled the eyes to look at it. He smote his hands together again, and out in the court-yard there appeared a troop of horsemen to escort Jacob Stuck to the palace, and they were all clad in gold-and-silver armor. He smote his hands together again, and there appeared twenty-and-one horses—twenty as black as night and one as white as milk, and it twinkled and sparkled all over with gold and jewels, and at the head of each horse of the one-and-twenty horses stood a slave clad in crimson velvet to hold the bridle. Again he smote his hands together, and there appeared in the ante-room twenty handsome young men, each with a marble bowl filled with gold money, and when Jacob Stuck came out dressed in his fine clothes there they all were.

Jacob Stuck mounted upon the horse as white as milk, the young men mounted each upon one of the black horses, the troopers in the gold-and-silver armor wheeled their horses, the trumpets blew, and away they rode—such a sight as was never seen in that town before, when they had come out into the streets. The young men with the basins scattered the gold money to the people, and a great crowd ran scrambling after, and shouted and cheered.

So Jacob Stuck rode up to the king’s palace, and the king himself came out to meet him with the princess hanging on his arm.

As for the princess, she knew him the moment she laid eyes on him. She came down the steps, and set the lock of hair against his head, where she had trimmed it off the night before, and it fitted and matched exactly. “This is the young man,” said she, “and I will marry him, and none other.”

But the prime-minister whispered and whispered in the king’s ear: “I tell you this young man is nobody at all,” said he, “but just some fellow who has had a little bit of good luck.”

“Pooh!” said the king, “stuff and nonsense! Just look at all the gold and jewels and horses and men. What will you do,” said he to Jacob Stuck, “if I let you marry the princess?”

“I will,” said Jacob Stuck, “build for her the finest palace that ever was seen in all this world.”

“Very well,” said the king, “yonder are those sand hills over there. You shall remove them and build your palace there. When it is finished you shall marry the princess.” For if he does that, thought the king to himself, it is something better than mere good luck.

“It shall,” said Jacob Stuck, “be done by tomorrow morning.”

Well, all that day Jacob Stuck feasted and made merry at the king’s palace, and the king wondered when he was going to begin to build his palace. But Jacob Stuck said nothing at all; he just feasted and drank and made merry. When night had come, however, it was all different. Away he went by himself, and blew his breath upon his piece of blue glass, and rubbed it with his thumb. Instantly there stood the Genie before him. “What wouldst thou have?” said he.

“I would like,” said Jacob Stuck, “to have the sand hills over yonder carried away, and a palace built there of white marble and gold and silver, such as the world never saw before. And let there be gardens planted there with flowering plants and trees, and let there be fountains and marble walks. And let there be servants and attendants in the palace of all sorts and kinsmen and women. And let there be a splendid feast spread for tomorrow morning, for then I am going to marry the princess.”

“To hear is to obey,” said the Genie, and instantly he was gone.

All night there was from the sand hills a ceaseless sound as of thunder—a sound of banging and clapping and hammering and sawing and calling and shouting. All that night the sounds continued unceasingly, but at daybreak all was still, and when the sun arose there stood the most splendid palace it ever looked down upon; shining as white as snow, and blazing with gold and silver. All around it were gardens and fountains and orchards. A great highway had been built between it and the king’s palace, and all along the highway a carpet of cloth of gold had been spread for the princess to walk upon.

Dear! Dear! How all the town stared with wonder when they saw such a splendid palace standing where the day before had been nothing but naked sand hills! The folk flocked in crowds to see it, and all the country about was alive with people coming and going. As for the king, he could not believe his eyes when he saw it. He stood with the princess and looked and looked. Then came Jacob Stuck. “And now,” said he, “am I to marry the princess?”

“Yes,” cried the king in admiration, “you are!”

So Jacob Stuck married the princess, and a splendid wedding it was.