In the summer of 1704, Margaret Wallace of Fife found herself enmeshed in an intense and public legal battle, charged with a grave and fearsome accusation: witchcraft. Her case was intertwined with the claims of possession afflicting Patrick Morton, a young blacksmith’s son residing in the coastal town of Pittenweem. Margaret, alongside six others, was implicated in an alleged conspiracy that caused Patrick’s torment, a situation that gripped both local authorities and broader judicial powers alike. The authorities invoked the precedent of a previous renowned case, that of "Bargarran's daughter in the west," which possibly lent credence to the severity with which Margaret’s situation was handled.
The Privy Council took an earnest interest in ensuring that justice was pursued with the utmost rigour. They delegated the prosecution responsibilities to the eminent Her Majesty's Advocate, Sir James Stewart, highlighting the seriousness with which Margaret's trial was regarded. Furthermore, the Privy Council's decision to fund the prosecution from the treasury underscored the case’s significance and its importance to the crown. The trial was held locally, allowing the inhabitants of Fife and its surrounding environs to witness the proceedings. This trial, marked by its direct involvement of the Lord Advocate, reflected the high stakes involved in accusations of witchcraft during this era, where societal fears and judicial mandates intersected with personal narratives of those accused, including Margaret Wallace.