Medjeddin obeyed immediately; and scarcely had he touched the black bird's beak with the blood, ere it was transformed, and a handsome youth in kingly dress stood before them.
"Guess who this is," said the genius.
"The prince Mesoud?" asked Medjeddin.
The genius answered, "It is he!" And as he stood looking at the young prince with astonishment, added, "You do not perceive how and why all this has happened. I could explain to you all these mysteries; but to what purpose? It is not necessary for weak men to know the threads by which their fates are linked together: suffice it to know that it was necessary for you to perform all this, that you might be tried: you are found worthy, and Heaven rewards you with Maryam, the early companion of your youth, now to be your wife."
Then Medjeddin turned towards Maryam, and looked inquiringly at Salek, her father. This latter said, "With joy I listen to the will of fate; the highest wish of my heart will now be fulfilled."
"Know," continued the genius, "that the slain bird was the enchanter who transformed the princess Jasmin and the prince Mesoud. They were also to pass through trials; thus it was decreed by fate. Because the enchanter only fulfilled the will of fate from selfish motives, and carried his revenge beyond it, and contrary to it, the king of the genii commanded me to slay him."
With these words he disappeared from their sight. They returned now in happy union to the city; and El Kattab, who had built his hut at the edge of the wood to be always near the place of his sorrow, dwelt again in his house with his children. The prince proceeded to Zanguebar in the same ship that had brought Medjeddin. He was received there with great joy, and was soon married to his early love. But Medjeddin's name lived long in their memory, and in that of all the inhabitants of that island.
When the caliph Haroun al Raschid heard of Medjeddin's return, he had him called before him, and made him relate his history. The caliph was so pleased with him that he took him into his palace, and gave him an important post in his court. His history he caused to be inscribed in the records of his kingdom. And when Giafar, his aged vizier, expressed a wish to end his life in quietness, the caliph raised Medjeddin to the grand viziership; and he continued long in this office, to the pleasure of his friends and the happiness of the people, by whom he was greatly beloved.