gregory never married. he was the youngest son of eleven children. his older brother william, like his father, was a chemist and physician. his great-great-grandfather james gregory, the mathematician, designed the gregorian telescope. james's nephew, david gregory, was appointed a professor of mathematics at the university of edinburgh in 1683.