When she first arrives at the Emerald City, Dorothy tries to enter the Wizard's palace but is stopped by the gatekeeper who informs her that no one is allowed to see the Wizard without permission.
Dorothy and her friends then seek the help of the Good Witch of the North, who gives them advice and helps them overcome challenges on their journey. Eventually, they manage to gain permission to see the Wizard and present their requests to him.
The Wizard initially appears as a powerful and imposing figure, but it is later revealed that he is actually a fraud. Despite this, he grants Dorothy's wish and provides her and her friends with the means to return home.