<Tr> <Th> Spouse (s) </Th> <Td> Tsing Tsing (in his former incarnation) </Td> </Tr> <Tr> <Th> Children </Th> <Td> 3 sons 15 grandsons (from his former incarnation) </Td> </Tr> <P> The Scarecrow is a character in the fictional Land of Oz created by American author L. Frank Baum and illustrator W.W. Denslow . In his first appearance, the Scarecrow reveals that he lacks a brain and desires above all else to have one . In reality, he is only two days old and merely ignorant . Throughout the course of the novel, he demonstrates that he already has the brains he seeks and is later recognized as "the wisest man in all of Oz," although he continues to credit the Wizard for them . He is, however, wise enough to know his own limitations and all too happy to hand the rulership of Oz, passed to him by the Wizard, to Princess Ozma, to become one of her trusted advisors, though he typically spends more time playing games than advising . </P> <P> In Baum's classic 1900 novel The Wonderful Wizard of Oz, the living scarecrow encounters Dorothy Gale in a field in the Munchkin Country while she is on her way to the Emerald City . He tells her about his creation and of how he at first scared away the crows, before an older one realised he was a straw man, causing the other crows to start eating the corn . The old crow then told the Scarecrow of the importance of brains . The "mindless" Scarecrow joins Dorothy in the hope that The Wizard will give him a brain . They are later joined by the Tin Woodman and the Cowardly Lion . When the group goes to the West, he kills the Witch's crows by twisting their necks . He is taken apart by the Flying Monkeys and his clothes thrown up a tree, but when his clothes are filled with straw he is back again . After Dorothy and her friends have completed their mission to kill the Wicked Witch of the West, the Wizard gives the Scarecrow brains (made out of bran, pins and needles--in reality a placebo, as he has been the most intelligent of the travelers all along). Before he leaves Oz in a balloon, the Wizard appoints the Scarecrow to rule the Emerald City in his stead . He accompanies Dorothy and the others to the palace of the Good Witch of the South Glinda, and she uses the Golden Cap to summon the Winged Monkeys, who take the Scarecrow back to the Emerald City . </P>

What happens to the scarecrow in the wizard of oz
find me the text answering this question