Haman wanted to kill the jews he picked a date to kill the jews but then Achachverouse was told that Esther is Jewish and Haman was going to kill the jews so then when Mordecai heard the guards talking about killing the king Mordecai told the king and he hanged Haman and the guards.