Pacts and Witches' Sabbaths were the main definitions of a witch, but in general, the Norwegians did not include such things in their accusations, nor did the accused, who could admit to practicing folk magic voluntarily but did not associate this with Satan. The authorities interrogated the accused by interpreting their testimony so that it could fit in with the witch trial handbook's definition of what a witch was, and used torture to get a confession about a Devil's Pacts and a Witches' Sabbath. Torture prior to a confession was formally illegal in accordance with the Danish torture law of 1547, but was nevertheless commonly used. After a guilty verdict, the condemned was interrogated again, this time to expose accomplices. Death by torture or in prison was common. The method of execution was often burning alive at the stake. The majority of those accused in Norway were either poor, vagabonds, beggars and other marginalized people; or cunning folk, normally people long rumoured to perform sorcery, and 80% were women, normally a married woman or a widow. The most profiled victims of the Norwegian witch hunt were Anne Pedersdotter of 1590 and Lisbeth Nypan of 1670. Decline After the 1670s, witch trials became more and more uncommon in Norway. The reason was that the high courts started to investigate and prevent the legal mistakes often made by the local courts handling the witch trials, such as the use of torture prior to a guilty verdict, the use of condemned criminals as witnesses and trial by ordeal, all of which were technically illegal and all of them commonly used in the witch trials. When witch trials were conducted in accordance with the law after the 1670s, they became smaller and fewer, and the method of execution was also to be decapitation rather than burning. The Norwegian law of 1687 kept the death penalty for witchcraft, and the Witchcraft Act was in fact formally in place until 1842. The last confirmed execution for sorcery in Norway was the execution of Johanne Nilsdatter in 1695. Witch trials did occur in Norway during the 18th-century, but the authorities no longer issued the death penalty in such cases. Because of the lack in documentation, some of the witch trials in the 18th-century may theoretically have resulted in death sentences, such as the one against Brita Alvern in 1729. The last occasion when a person is confirmed