Dr. Walter Freeman, world's foremost lobotomist.
The Electric Alarum, an anti-Spermatorrhea (wet dreams
) device from Spermatorrhea-Its Pathology, Results, and Complications
, by John Lawes Milton (1881)
"...keeping the circuit open when the organ is quiescent. Upon the ring is a flat plate of ivory (a), furnished with a bolt(b), which, upon erection, is pushed backwards so as to complete the circuit. With the ring and bolt are connected two insulated wires (B,B) which convey the current to two binding screws (C1,C2)…On the circuit being completed by the pushing back of the bolt (b), the hammer strikes the bell (G)..."
Ancient trepanation apparatus, and the result...
Jugum anti-masturbatory device circa 1900 – London Science Museum