Mordecai or Mordechai (Hebrew: מָרְדְּכַי, Modern Mordechai, Tiberian Mordŏḵáy, Persian: مردخای, IPA value: [moʁdoˈχaj]) is one of the main personalities in the Book of Esther in the Hebrew Bible. He was the son of Jair, of the tribe of Benjamin.
Mordecai resided in Susa (Shushan or Shoushan), the metropolis of Persia (now Iran). He adopted his orphaned cousin (Esther 2:7), Hadassah (Esther), whom he brought up as if she were his own daughter. When "young virgins" were sought, she was taken into the presence of King Ahasuerus and was made queen in the place of the exiled queen Vashti. Mordecai was referred to subsequently as one of those who "sat in the king's gate" to indicate his position of closeness to the king. While holding this office, he discovered a plot of the king's chamberlains Bigthan and Teresh to assassinate the king. Because of Mordecai's vigilance, the plot was foiled. His services to the king in this matter were duly recorded in the king's royal diary.
Haman the Agagite had been raised to the highest position at court. In spite of the king's decree that all should prostrate themselves before Haman, Mordecai refused to do so. Though the Hebrew Scriptures attest to Israelites or Jews bowing out of respect and submission (e.g. Gen. 33: 3; 1 Sam. 24:8), Haman was a descendant of the Amalekites, their ancient enemies (Esther 3:1; 1 Sam. 15:8). Haman, stung by Mordecai's refusal, resolved to accomplish his death in a wholesale murder of the Jewish exiles throughout the Persian empire. Learning of Haman's scheme, Mordecai communicated with Queen Esther regarding it, and by her bold intervention the scheme was frustrated by distributing arms to the Jews of Susa and other Persian cities where they lived and clashed with Haman's militia, until the king rescinded the edict to murder the empire's Jews. Mordecai was raised to a high rank, donned in the royal gray cloak, and Haman was executed on gallows he had by anticipation erected for Mordecai. In memory of the deliverance thus wrought for them, the Jews to this day celebrate the feast of Purim or "Lots" because of the lots that were drawn by Haman to decide the date on which the slaughter of the Jews would take place.