A duel is an arranged engagement in combat between two individuals with matched weapons in accordance with agreed-upon rules. Duels in this form were chiefly practiced in early modern Europe with precedents in the medieval code of chivalry, and continued into the modern period (19th to early 20th centuries) especially among military officers.
The duel was based on a code of honor. Duels were fought not so much to kill the opponent as to gain “satisfaction”, that is, to restore one’s honor by demonstrating a willingness to risk one’s life for it, and as such the tradition of dueling was originally reserved for the male members of nobility; however, in the modern era it extended to those of the upper classes generally. On rare occasions, duels with pistols or swords were fought between women; these were sometimes known as petticoat duels.