Heart of Midlothian F.C . took its name from a historic county with the same name , and also from the Heart of Midlothian mosaic on the Royal Mile that is the entrance to the Old Tolbooth Jail .
The club took its name from the Heart of Midlothian jail , which was demolished in 1817 but was kept fresh in the mind by Walter Scott 's novel The Heart of Midlothian .
Heart of Midlothian F.C.