A forensic artist has digitally reconstructed the face of an 18th-century "witch" who was sentenced to be burned alive after confessing to having sex with the devil.

Lillias Adie from Torryburn, Fife, died in jail before she could face her punishment and it is believed she may have taken her own life.

A large stone now marks the spot on the beach where her remains were buried.

Locals placed the stone on top of her grave to "weigh down" the grave in an attempt to prevent Adie coming back to haunt them.

By the 19th century, scientific curiosity outweighed zombie fears and some antiquarians dug up the remains to study and display.

Her skull eventually made it to the St Andrews University Museum, where it was photographed more than 100 years ago.

The skull went missing at some point during the 20th century but the images remain and are held by the National Library of Scotland.

Records of Adie paint a picture of a woman, possibly in her 60s, who may have been frail for some time, with failing eyesight.

They also suggest a woman who showed courage in holding off her accusers and their demands for the names of others to interrogate and kill.

Dr Christopher Rynn, of St Andrews University, told STV News: "The way I tackled it was to align the photographs in a 3D sculpture computer system, find a skull that we had in the collection that was similar and then distort it to fit from those two perspectives.

"This gave us a basis to do an anatomical facial reconstruction all the way to up the facial surface, which is about bringing a character back to life to introduce and to connect with her."

Historian Louise Yeoman said: "The point of the interrogation and its cruelties was to get names.

"Lilias said that she couldn't give the names of other women at the witches' gatherings as they were masked like gentlewomen.

"She only gave names which were already known and kept on coming up with good reasons for not identifying other women for this horrendous treatment despite the fact it would probably mean there was no let-up for her."

She added:"It's sad to think her neighbours expected some terrifying monster when she was actually an innocent person who'd suffered terribly. The only thing that's monstrous here is the miscarriage of justice."