Ashmedai, known in Greek and Latin sources as Asmodeus, is the king of the demons in Jewish myth, his name traced to the Avestan aēšma-daēva, the demon of wrath. In the Book of Tobit he slays the seven bridegrooms of Sarah before being driven off; in the Babylonian Talmud he is a more ambiguous figure, wise and study-loving, who ascends daily to the heavenly academy. The best-known legend has Solomon's captain Benaiah subdue him with a chain graven with the divine Name and wine, to compel from him the shamir that shapes the Temple stones without iron; freed of his fetters, Ashmedai flings the king to the ends of the earth and reigns in his stead until Solomon regains his throne. Aggadic tradition names the demoness Naamah as his mother.