Twelve princesses slept in twelve beds in the same room; every night their doors were securely locked, but in the morning their shoes were found to be worn through as if they had been dancing all night.
The king, perplexed, promised his kingdom and a daughter to any man who could discover the princesses' secret within three days and three nights, but those who failed within the set time limit would be put to death.
An old soldier returned from war came to the king's call after several princes had failed in the endeavour to discover the princesses' secret. Whilst traveling through a wood he came upon an old woman, who gave him an invisibility cloak and told him not to eat or drink anything given to him by one of the princesses who would come to him in the evening, and to pretend to be fast asleep after the princess left.
The soldier was well received at the palace just as the others had been and indeed, in the evening, the eldest princess came to his chamber and offered him a cup of wine. The soldier, remembering the old woman's advice, threw it away secretly and began to snore very loudly as if asleep.
The princesses, sure that the soldier was asleep, dressed themselves in fine clothes and escaped from their room by a trap door in the floor. The soldier, seeing this, donned his invisibility cloak and followed them down. He trod on the gown of the youngest princess, whose cry to her sisters that all was not right was rebuffed by the eldest. The passageway led them to three groves of trees; the first having leaves of silver, the second of gold, and the third of diamonds. The soldier, wishing for a token, broke off a twig as evidence. They walked on until they came upon a great lake. Twelve boats with twelve princes in them were waiting. Each princess went into one, and the soldier stepped into the same boat as the youngest. The young prince in the boat rowed slowly, unaware that the soldier was causing the boat to be heavy. The youngest princess complained that the prince was not rowing fast enough, not knowing the soldier was in the boat. On the other side of the lake was a castle, into which all the princesses went and danced the night away.
The princesses danced until their shoes were worn through and they were obliged to leave. This strange adventure went on the second and third nights, and everything happened just as before, except that on the third night the soldier carried away a golden cup as a token of where he had been. When it came time for him to declare the princesses' secret, he went before the king with the three branches and the golden cup, and told the king all he had seen. The princesses saw there was no use to deny the truth, and confessed. The soldier chose the eldest princess as his bride for he was not a very young man, and was made the king's heir.