 When Gray dies and is buried in the Greyfriars Kirkyard, the dog will not leave the grave, despite his fondness for Ewan.The Greyfriars gravedigger, James Brown, takes a liking to Bobby, and gives him food and protection.However, the passing of a new dog law in Scotland threatens Bobby's very existence, and Ewan must do everything in his power to save his canine friend, even when it involves the Lord Provost of Edinburgh.