Beginning in the late 18th century it was used in the Victorian medical field of electrotherapy to treat a variety of diseases by electric shock. By the middle of the 19th century, the Leyden jar had become common enough for writers to assume their readers knew of and understood its basic operation. Around the turn of the century it began to be widely used in spark-gap transmitters and medical electrotherapy equipment. By the early 20th century, improved dielectrics and the need to reduce their size and undesired inductance and resistance for use in the new technology of radio caused the Leyden jar to evolve into the modern compact form of capacitor.