Greyfriars Bobby. Bobby belonged to John Gray, who worked for the Edinburgh City Police as a night watchman. The two were inseparable. John Gray died of tuberculosis on 15th February 1858, and was buried in Greyfriars Churchyard in Edinburgh. Bobby spent the rest of his life at his master's grave. He only left to eat, then immediately resumed his vigil. He survived John Gray by fourteen years.