After the king is betrayed by his wife, he has her killed. As revenge on all women, he marries a virgin every night, sleeps with her and then has her killed.
The virgin Shahrzad / Scheherezade wants to put an end to the murders.
She survives by telling the king stories every night that end so thrillingly that he wants to hear the sequel the next night.
After 1001 nights, she kills the king together with other doomed concubines and conquers the king's court.
As the new ruler of the Persian Empire, she rewrites the course of history for all Persians, especially Persian women.