The allegorical framework of the poem is as follows: the birds of the world gather together to seek a king. They are told by the hoopoe that they have a king – the Simorgh – but that he lives far away and the journey to him is hazardous. The birds are at first enthusiastic to begin their search, but when they realize how difficult the journey will be they start to make excuses. The nightingale, for example, cannot leave his beloved; the hawk is satisfied with his position at court waiting on earthly kings; the finch is too afraid even to set out, and so on. The hoopoe counters each of their excuses with anecdotes which show how their desires and fears are mistaken. The group flies a little way, formally adopts the hoopoe as its leader, and then decides to ask a series of questions about the Way before proceeding. These questions are also answered by illustrative anecdotes. The last question is about the length of the journey, and in answer the hoopoe describes the seven valleys of the Way. The journey itself is quickly dealt with and the birds arrive at the court of the Simorgh. At first, they are turned back; but they are finally admitted and find that the Simorgh they have sought is none other than themselves. The moment depends on a pun – only thirty birds (morgh) are left at the end of the Way, and the small morghs meet the Simorgh, the goal of their quest. The hoopoe in Attar’s poem is presented as the birds’ guide and leader; he is therefore the equivalent of a sheikh leading a group of religious adepts, or would-be adepts, along their path. His relation to the other birds is also Attar’s relation to his audience: he expounds the doctrine they wish to hear and admonishes them to act on it.