Mary King's Close is an old Edinburgh close under buildings in the Old Town area of Edinburgh, Scotland. It took its name from one Mary King, daughter of advocate Alexander King, who in the 17th century had owned several properties within the close. The close was partially demolished and buried under the Royal Exchange, and later being closed to the public for many years, the complex became shrouded in myths and urban legends.