The pages of a 350-year-old book used to record the names of those accused of witchcraft in Scotland have been published.
The Names of Witches in Scotland, 1658 collection, was drawn up during a time when the persecution of supposed witches was fever pitched.
The book also lists the towns where the accused lived and includes the confession.
It is believed many were healers, practicing traditional folk medicine.
Some of the notes give small insights into the lives of those accused.
A majority of those accused of witchcraft were women although the records reveal that some men were also persecuted.
Folk medicine was Witchcraft
The passing of the Scottish Witchcraft Act in 1563 made witchcraft, or consulting with witches, capital crimes in Scotland.
It is estimated that between 3,000 and 5,000 women were publicly accused of being witches in 16th and 17th Century Scotland.
The outbreak of witch-hunting in the years 1658-1662, the period in which the list of names was created, is generally seen to be the height of persecution against witches in Scotland.
In many cases, the victims were healers, part of a tradition of folk medicine. Their treatments sometimes helped poor communities but accusations of witchcraft could crop up if they did not work.
Miriam Silverman, Ancestry senior content manager, said: "In the 17th century, people believed that the unholy forces of witchcraft were lurking in their communities, and those accused of being witches were persecuted on the basis of these dark suspicions."
"This might mean charms and spells, or the use of healing herbs and other types of folk medicine, or both. We'll probably never know the combinations of events that saw each of these individuals accused of witchcraft.
"It's a mysterious document: "It gives us a fleeting view of a world beyond orthodox medicine and expensively trained physicians, in which people in small towns and villages looked for their own routes to understanding the world and came into conflict with the state for doing it."