Esther is described in all versions of the Book of Esther as the Jewish queen of a Persian king Ahasuerus. In the scriptures, Ahasuerus seeks a new wife after his queen, Vashti, refuses to obey him, and Esther is chosen for her beauty. The king's chief adviser, Haman, is offended by Esther's cousin and guardian, Mordecai, and gets permission from the king to have all the Jews in the kingdom killed. Esther foils the plan, and wins permission from the king for the Jews to kill their enemies, and they do so. Her story provides a traditional background for Purim, which is celebrated on the date given in the story for when Haman's order was to go into effect, which is the same day that the Jews killed their enemies after the plan was reversed.