The miller tells the king of the land that his daughter can spin gold out of straw.
The king gives the daughter a spinning-wheel and tells her it must all be spun into gold before morning or else she will die.
The hobgoblin comes into the girls room and says if she gives him her necklace, he will spin the straw into gold.
My name is Rumpelstiltskin!
The hobgoblin tells the queen that he will give her three days to guess his name and if she does, she can keep her child.
The queen began with all the comical names she could think of, bandy-legs, hunchback, crook-shanks, and so on; but the little gentleman said the same thing to everyone of them, "Madam, that is not my name."
The messenger came back and said, "Yesterday, as I was climbing the hill, where the fox and the hare bid each other good night, I saw a hut with fire and Rumpelstiltskin said his name!" So the next day, the queen said, "Can your name be Rumpelstiltskin?" And the queen kept her baby.