Since 1817 Scott had been suffering from violent fits of cramp in the stomach, caused by undiagnosed gall-stones.
Note from Sir Walter Scott, from Literary Anecdotes