Mordecai did this to have the Jews celebrate every year. They were to celebrate on the fourteenth and fifteenth days of the month of Adar.