Haman was hanged, and Mordecai replaced him as chief minister.