The prince wanted to marry a real princess but could not find one. During a terrible storm, a woman came to the city gate claiming to be a princess. To test if she was real, the queen put a pea under 20 mattresses and 20 feather beds for the woman to sleep on. In the morning, the woman said she barely slept because something hard was in the bed, showing she must be a real princess with great sensitivity. The prince then married her, knowing he found a real princess.