Please read Esther chapters 8-10. If you missed the other parts of this study, part one is here.
and Part 5
After Esther reveals that she is a Jew, and that Haman has sought to kill Mordecai her uncle and adopted father and also to destroy all Jews, which would include herself, Haman is hanged on the very gallows he had built for Mordecai.
Esther is given rule over the house of Haman, and Mordecai is promoted. Esther reminds the king that even though Haman is now dead, the Jews are still in danger. Ahasuerus tells them that the word coming from the king cannot be broken by anyone, not even himself. But in his name, they could write another command. The king gave Mordecai his ring and sent for the scribes. They wrote out a message to the Jews in all 127 provinces, telling them to fight against those who would try to take their lives.
On the appointed day, the Jews gathered together in their cities and battled. In Shushan 500 of those who sought to see the Jews slaughtered were killed and Haman's ten sons were hanged. The Jews were safe and Mordecai, being second to the king's command, instituted a day of joy and feasting for the Jews. Their sorrow at the thought of being destroyed had been turned to joy. Because Haman had cast pur, or lots, to to decide on what day the Jews would die, the feast day became known as Purim.