The phrase "To be hoisted by one's own petard" comes from
Petard flags being flown too high
The Swiss Petard regiment which hanged its own commander
Petard Crossbows used in the crusades
Petard Explosives exploding in the face of the very men who set them