The boy, who took care of pigs, set forth to try his luck. Overcoming his laziness and greediness he got to the royal palace. With the help of the animals, whom he met with on his way, he gained the princess' hand.