On his return he had recourse to an operation of geomancy to find out where the lamp was—whether Aladdin carried it about with him, or where he left it. The result of his consultation informed him, to his great joy, that the lamp was in the palace.
"Well," said he, rubbing his hands in glee, "I shall have the lamp, and I shall make Aladdin return to his original mean condition."
The next day the magician learned from the chief superintendent of the khan where he lodged that Aladdin had gone on a hunting expedition which was to last for eight days, of which only three had expired. The magician wanted to know no more. He resolved at once on his plans. He went to a coppersmith, and asked for a dozen copper lamps; the master of the shop told him he had not so many by him, but if he would have patience till the next day he would have them ready. The magician appointed his time, and desired him to take care that they should be handsome and well polished.
The next day the magician called for the twelve lamps, paid the man his full price, put them into a basket hanging on his arm, and went directly to Aladdin's palace. As he approached, he began crying, "Who will exchange old lamps for new?" And as he went along, a crowd of children collected, who hooted, and thought him, as did all who chanced to be passing by, a madman or a fool to offer to exchange new lamps for old.
The African magician regarded not their scoffs, hootings, or all they could say to him, but still continued crying, "Who will exchange old lamps for new?" He repeated this so often, walking backward and forward in front of the palace, that the princess, who was then in the hall of the four-and-twenty windows, hearing a man cry something, and seeing a great mob crowding about him, sent one of her women slaves to know what he cried.
The slave returned, laughing so heartily that the princess rebuked her.
"Madam," answered the slave, laughing still, "who can forbear laughing, to see an old man with a basket on his arm, full of fine new lamps, asking to exchange them for old ones? The children and mob, crowding about him so that he can hardly stir, make all the noise they can in derision of him."
Another female slave, hearing this, said, "Now you speak of lamps, I know not whether the princess may have observed it, but there is an old one upon a shelf of the Prince Aladdin's robing room, and whoever owns it will not be sorry to find a new one in its stead. If the princess chooses, she may have the pleasure of trying if this old man is so silly as to give a new lamp for an old one, without taking anything for the exchange."
The princess, who knew not the value of the lamp and the interest that Aladdin had to keep it safe, entered into the pleasantry and commanded a slave to take it and make the exchange. The slave obeyed, went out of the hall, and no sooner got to the palace gates than he saw the African magician, called to him, and showing him the old lamp, said, "Give me a new lamp for this."
The magician never doubted but this was the lamp he wanted. There could be no other such in this palace, where every utensil was gold or silver. He snatched it eagerly out of the slave's hand, and thrusting it as far as he could into his breast, offered him his basket, and bade him choose which he liked best. The slave picked out one and carried it to the princess; but the change was no sooner made than the place rang with the shouts of the children, deriding the magician's folly.
The African magician stayed no longer near the palace, nor cried any more, "New lamps for old," but made the best of his way to his khan. His end was answered, and by his silence he got rid of the children and the mob.
As soon as he was out of sight of the two palaces he hastened down the least-frequented streets. Having no more occasion for his lamps or basket, he set all down in a spot where nobody saw him; then going down another street or two, he walked till he came to one of the city gates, and pursuing his way through the suburbs, which were very extensive, at length he reached a lonely spot, where he stopped till the darkness of the night, as the most suitable time for the design he had in contemplation.
When it became quite dark, he pulled the lamp out of his breast and rubbed it. At that summons the genie appeared, and said, "What wouldst thou have? I am ready to obey thee as thy slave, and the slave of all those who have that lamp in their hands; both I and the other slaves of the lamp."
"I command thee," replied the magician, "to transport me immediately, and the palace which thou and the other slaves of the lamp have built in this city, with all the people in it, to Africa."
The genie made no reply, but with the assistance of the other genies, the slaves of the lamp, immediately transported him and the palace, entire, to the spot whither he had been desired to convey it.
Early the next morning when the sultan, according to custom, went to contemplate and admire Aladdin's palace, his amazement was unbounded to find that it could nowhere be seen. He could not comprehend how so large a palace, which he had seen plainly every day for some years, should vanish so soon and not leave the least remains behind. In his perplexity he ordered the grand vizier to be sent for with expedition.
The grand vizier, who, in secret, bore no good will to Aladdin, intimated his suspicion that the palace was built by magic, and that Aladdin had made his hunting excursion an excuse for the removal of his palace with the same suddenness with which it had been erected. He induced the sultan to send a detachment of his guard, and to have Aladdin seized as a prisoner of state.
On his son-in-law being brought before him, the sultan would not hear a word from him, but ordered him to be put to death. But the decree caused so much discontent among the people, whose affection Aladdin had secured by his largesses and charities, that the sultan, fearful of an insurrection, was obliged to grant him his life.
When Aladdin found himself at liberty, he again addressed the sultan: "Sire, I pray you to let me know the crime by which I have thus lost the favor of thy countenance."
"Your crime!" answered the sultan. "Wretched man, do you not know it? Follow me, and I will show you."