I agree Cell
First defined in Scotland as The Scottish Witchcraft Act 1563.
It was reinforced by The Scottish Witchcraft Act 1649 that ratified the existing act of 1563 and extended it to deal with consulters of "Devils and familiar spirits", who would now be punished with death.
These Acts remained on the statute book until the post-union Witchcraft Act of 1735 (9 Geo. 2 c. 5).
Penalties for the practice of witchcraft as traditionally constituted, which by that time was considered by many influential figures to be an impossible crime, were replaced by penalties for the pretence of witchcraft. A person who claimed to have the power to call up spirits, or foretell the future, or cast spells, or discover the whereabouts of stolen goods, was to be punished as a vagrant and a con artist, subject to fines and imprisonment. The Act applied to the whole of Great Britain, repealing both the 1563 Scottish Act and the 1604 English Act.
This Act remained in force until its eventual repeal with the enactment of the Fraudulent Mediums Act of 1951 (itself repealed on 26th May 2008).
The maximum penalty under the 1735 Act was 1 year's imprisonment.
But witchcraft itself remained, well after the last trial in 1727.