 He destroyed the gallows and killed the king.The people chose the boy for their king, and the old groom drowned himself, because the boy might have been poor all his life without his interference.Other tales of this type include "The Magician's Horse" and "Little Johnny Sheep-Dung".