A conflict took place between John and the authorities at that time. A tyrant king, Herod Antipas, the ruler of Palestine, was in love with Salome, his brother's daughter (Ibn Kathir wrote here "Herodias," who was Herod's brother's wife, according to Matthew 14. Their daughter is known by tradition as Salome. According to Matthew 14,New Revised Standard version, Herod wanted to marry his brother', wife, but I believe Ibn Kathir's version makes more sense - Editor). He was planning to marry his beautiful niece. The marriage was encouraged by her mother and by some of the learned men of Zion, either out of fear or to gain favor with the ruler.
On hearing the ruler's plan, John pronounced that such a marriage would be incestuous. He would not approve it under any circumstance, as it was against the Law of the Torah.
John's pronouncement spread like wildfire. Salome was angry, for it was her ambition to rule the kingdom with her uncle. She plotted to achieve her aim. Dressing attractively, she sang and danced before her uncle. Arousing his lust, Herod embraced her, he offered to fulfill whatever she desired. At once she told him: "I would love to have the head of John, because he has defiled your honor and mine throughout the land. If you grant me this wish, I shall be very happy and will offer myself to you." Bewitched by her charm, he submitted to her monstrous request. John was executed and his head was brought to Salome. The cruel woman gloated with delight. But the death of Allah's beloved prophet was avenged. Not only she, but all the children of Israel were severely punished by invading armies which destroyed their kingdom.