The main frame story concerns Shahryār whom the narrator calls a “Sasanian king” ruling in “India and China.” Shahryār is shocked to learn that his brother’s wife is unfaithful. Discovering that his own wife’s infidelity has been even more flagrant, he has her killed. In his bitterness and grief, he decides all women are the same. Shahryār marries a succession of virgins only to execute each one the next morning, before she dishonors him.
Eventually the Vizier (Wazir), whose duty it is to provide them, cannot find any more virgins. Scheherazade, the vizier’s daughter, offers herself as the next bride and her father reluctantly agrees. On the night of their marriage, Scheherazade tells the king a tale, but does not end it. The king, curious about how the story ends, is forced to postpone her execution in order to hear the conclusion. The next night, as soon as she finishes the tale, she begins another one, and the king, eager to hear the conclusion of that tale as well, postpones her execution once again. This goes on for one thousand and one nights, hence the name.