David Gregory was was a nephew of James Gregory who become a professor of mathematics in Edinburgh and Oxford. He did important work on series and in optics and was a strong supporter of Newton in his dispute with Leibniz.
Find out more at: https://mathshistory.st-andrews.ac.uk/Biographies/Gregory_David/