Professor Eupraxia Mole was Headmistress of Hogwarts School of Witchcraft and Wizardry in the 1870s.
In 1876, caretaker Rancorous Carpe devised an "elaborate trap" in an effort to remove Peeves, the resident Poltergeist, from the Castle — comprised of a bait of assortment of weapons and a vast enchanted bell jar, reinforced by various Containment Charms, which he intended to drop over the poltergeist once he was in place. This did not go as planned, as Peeves easily broke through the bell jar and was left armed with several cutlasses, crossbows, a blunderbuss and a miniature cannon. The Castle had to be evacuated for three days as Peeves amused himself by firing randomly and threatening the students with death.
Headmistress Mole agreed to sign a contract with Peeves, so that he relinquished from the weapons in exchange for additional privileges (a once-weekly swim in the boys' toilets on the ground floor, first refusal on stale bread from the kitchen for throwing purposes, and a new custom-made hat by Madame Bonhabille).