Esther 3:7goral
It was in the first month of the twelfth year of King Xerxes' rule - the month of Nisan. Pur (that is, the lot) was thrown before Haman to choose a day and a month. So the twelfth month, the month of Adar, was chosen.
Haman throws Pur, the lot, to pick a day; origin of Purim.