n the mid 1700s, as the study of electricity became popular, efficient ways of producing electricity were sought. The Ramsden generator was among the first electrostatic generators invented. Electricity produced by such generators was used to treat paralysis and muscle spasms, and to control heart rates. Other medical uses of electricity included filling the body with electricity, drawing sparks from the body, and applying sparks from the generator to the body.