The opening sentences of the story, in both the Galland and the Burton versions, set it in "one of the cities of China". On the other hand, there is practically nothing in the rest of the story that is inconsistent with a Middle Eastern setting. For instance, the ruler is referred to as "Sultan" rather than being called the "Emperor", as in some retellings, and the people in the story are Muslims and their conversation is filled with Muslim platitudes. A Jewish merchant buys Aladdin's wares, but there is no mention of Buddhists or Confucians.