The Testament of Solomon is a pseudepigraphical composite text ascribed to King Solomon but not regarded as canonical scripture by Jews or Christian groups. It was written in the Greek language, based on precedents dating back to the early 1st millennium CE, but was likely not completed in any meaningful textual sense until sometime in the Middle Ages. In its most noteworthy recensions, the text describes how Solomon was enabled to build his temple by commanding demons by means of a magical ring that was entrusted to him by the archangel Michael. Scholarly opinion on when the Testament of Solomon was written varies widely. Despite the text's claim to have been a first-hand account of King Solomon's construction of the Temple of Jerusalem, suggested dates for its composition range between the end of the 1st century CE and the High Middle Ages. Also disputed is whether it had a Christian or Jewish origin. Mid-twentieth century scholarship tended to agree that much of its content "reflects the first-century Judaism in Israel" and includes material much earlier than its composition. However, scholars both before (e.g., Istrin) and after (e.g., Schwarz) proposed other solutions based upon the varied manuscript evidence. Because of the text's various forms, produced over centuries by distinct scribes, the author or authors of the text remain unknown. The text was originally written in Greek and contains numerous theological and magical themes ranging from Christianity and Judaism to Greek mythology and astrology that possibly hint at a Christian writer with a Greek background. Seal of Solomon When a demon named Ornias harasses a young man (who is favored by Solomon) by stealing half of his pay and sucking out his vitality through the thumb on his right hand, Solomon prays in the temple and receives from the archangel Michael a magic ring with the seal of God (in the shape of a pentagram) on it which will enable him to command the demons. Solomon lends the ring to the lad who, by throwing the ring at the demon Ornias, stamps him with the seal and brings him under control.