Ferdowsi (940–1020) was a Persian poet who lived in the Abbasid Caliphate. In Shahnameh, his national epic poem, Ferdowsi described a caesarean section performed on Rudaba. A special wine prepared by a Zoroastrian priest was used as an anesthetic for this operation.
Circa 1020, Ibn Sīnā (980–1037) in The Canon of Medicine described the "soporific sponge", a sponge imbued with aromatics and narcotics, which was to be placed under a patient's nose during surgical operations. Opium made its way from Asia Minor to all parts of Europe between the 10th and 13th centuries.
Throughout 1200 to 1500 AD in England, a potion called dwale was used as an anesthetic. This alcohol-based mixture contained bile, opium, lettuce, bryony, henbane, hemlock, and vinegar. Surgeons roused their patients by rubbing vinegar and salt on their cheekbones. One can find records of dwale in numerous literary sources, including Shakespeares Hamlet', and the John Keats poem "Ode to a Nightingale". In the 13th century, we have the first prescription of the "spongia soporifica"—a sponge soaked in the juices of unripe mulberry, flax, mandragora leaves, ivy, lettuce seeds, lapathum, and hemlock with hyoscyamus. After treatment and/or storage, the sponge could be heated and the vapors inhaled with anesthetic effect.
Alchemist Ramon Llull has been credited with discovering diethyl ether in 1275.  Aureolus Theophrastus Bombastus von Hohenheim (1493–1541), better known as Paracelsus, discovered the analgesic properties of diethyl ether around 1525. It was first synthesized in 1540 by Valerius Cordus, who noted some of its medicinal properties. He called it oleum dulce vitrioli, a name that reflects the fact that it is synthesized by distilling a mixture of ethanol and sulfuric acid (known at that time as oil of vitriol). August Sigmund Frobenius gave the name Spiritus Vini Æthereus to the substance in 1730.