Esther 8:1 On that day King Ahasuerus gave to Queen Esther the house of Haman, the enemy of the Jews. And Mordecai came before the king, for Esther had told what he was to her.
After the feast was over and Haman was taken away, two main things happened: (1) the king gave the house [everything & everyone] of Haman to the queen to do with as she pleased and (2) she was finally free to tell the truth about her secret identity. She shared everything from being a Jew to even having been raised by Mordecai. Thus, as a result, Esther ended up having him officially brought before Ahasuerus.