Read the book of Esther in the Bible.  This exact scenario took place.  Harman wanted to kill Mordecai on a gallows he had built.  Harman was hung on the gallows he himself had built for the good man Mordecai.