<P> The Smith and the Devil is a European fairy tale . The story is of a smith who makes a pact with a malevolent being--commonly the Devil (in later times), Death or a genie--selling his soul for some power, then tricks the devil out of his prize . In one version, the smith gains the power to weld any materials, then uses this power to stick the devil to an immovable object, allowing the smith to renege on the bargain . </P> <P> The tale was collected by the Brothers Grimm in their Children's and Household Tales (published in two volumes in 1812 and 1815), although they removed it in editions of 1822 and later, substituting "Brother Lustig" and relegating references to it to the notes for "Gambling Hansel", a very similar tale . Edith Hodgetts' 1891 book Tales and Legends from the Land of the Tsar collects a Russian version, while Ruth Manning - Sanders included a Gascon version as "The Blacksmith and the Devil" in her 1970 book A Book of Devils and Demons. . Richard Chase presents a version from the Southern Appalachians, called "Wicked John and the Devil ." </P> <P> According to George Monbiot, the blacksmith is a motif of folklore throughout (and beyond) Europe associated with malevolence (the medieval vision of Hell may draw upon the image the smith at his forge), and several variant tales tell of smiths entering into a pact with the devil to obtain fire and the means of smelting metal . </P>

When was the smith and the devil written
find me the text answering this question