Not Far from Edinburgh, lie the remains of Yester Castle, built by Lord Hugo de Giffard, warlock and geomancer. Hidden in tangled. thorny woodland the castle is said to be the result of a satanic pact between the owner, Hugo de Giffard; known as the wizard of Yester, and the devil himself. The castle was built in the 13th Century allegedly with the help of a team of hobgoblins.
The Wizard of Yester and the Goblin Hall - A Scottish Castle Built by Goblins