When did William Glennie die?

William Glennie died in 1828.