See caption
21st-century photograph of Kinnairdy Castle, which was inherited by Gregory after his older brother was murdered.
Wikimedia Commons

David Gregory (20 December 1625 – 1720) was a Scottish physician and inventor. His surname is sometimes spelt as Gregorie, the original Scottish spelling. He inherited Kinnairdy Castle in 1664. Three of his twenty-nine children became mathematics professors. He is credited with inventing a military cannon that Isaac Newton described as “being destructive to the human species”. Copies and details of the model no longer exist. Gregory’s use of a barometer to predict farming-related weather conditions led him to be accused of witchcraft by Presbyterian ministers from Aberdeen, although he was never convicted.

Ancestry and early life

Gregory, born on 20 December 1625, was the second-eldest son of John Gregorie (1598–1650 or 1652[a]Records of the Family of Gregory shows the year of his death as 1650;[1] papers at University of Aberdeen indicate 1652.[2]),[3] minister at the small parish village of Drumoak in Aberdeenshire, where Gregory was born.[4] The family surname is sometimes spelt Gregorie, as in the original Scottish.[5] His mother was Janet Anderson, whose father David was said to be exceptionally talented in the fields of medicine and mathematics. Gregory’s younger brother was James Gregory, the designer of the Gregorian telescope.[4][6]

Gregory’s schooling was initially undertaken by his mother. His father then despatched him to the Netherlands to learn herring dealing, which was the predominant trade in Aberdeen. He returned to Aberdeen when he was in his early thirties in 1655 just after his father’s death. Gregory had never been enthusiastic about trading and ceased trading as soon as he returned to Aberdeen to concentrate on scientific and literary topics.[7] From 1663 until 1669 he was employed by Marischal College Library as a librarian. At that time he also furthered his scientific interests by writing to other overseas and British scientists.[6]

In February 1655 Gregory married Jean Walker, with whom he had fifteen children. When his elder brother Alexander died childless in 1664, Gregory inherited Kinnairdy Castle, just south of Aberchirder, Banffshire. Alexander had been murdered.[2][8] Jean Walker died in 1671 and Gregory remarried a few months later in early 1672. His second wife was Isabel Gordon. She bore him fourteen children. Twenty of his children reached adulthood and three, David (1659–1708), James (1666–1742) and Charles (1681–1754), were mathematics professors in the same period at British universities.[6] David taught at the University of Oxford; James was based at Edinburgh University; and Charles at St Andrews.[9] Thomas Reid was Gregory’s grandson, as Reid’s mother was Margaret, Gregory’s daughter. Reid’s father was Lewis Reid, a minister at Strachan, Aberdeenshire.[10][11]


Gregory moved to Kinnairdy Castle with his wife and children as soon as he inherited the estate and lands from his elder brother in 1664. The inheritance was substantial and made him a rich man. Although he knew nothing about farming, he settled well and helped others in the area, whether they were rich or poor, with his medical prowess and did not charge for his medical advice. He was the only person in the region to own a barometer and used it to predict the best time to harvest and for other farming related activities affected by weather conditions. As his predictions were usually accurate, this led to rumours that Gregory had “sold his soul to the Devil” and he was accused of witchcraft by a group of ministers from the Aberdeen presbytery. The ministers seemed to accept his explanation about the barometer and no further action was taken against him.[6][12][13]

During 1690 Gregory passed the control of the castle and lands to his son David, who was by then the Savilian Professor of Astronomy at Oxford. This enabled Gregory and his wife to move back to Aberdeen.[14]

Legacy and death

Aided by an Aberdeen watchmaker, Gregory began designing a military cannon and showed the prototype to his son David. The model was then passed to Isaac Newton, who advised that it be destroyed; Gregory’s grandson, Thomas Reid, reported that Newton had considered it to be “destructive to the human species”.[6] No records or details of the model have been found by historians.[4][6][15]

To avoid the troubles of the Jacobite Rebellion, Gregory and his family went back to the Netherlands in 1715. They returned to Aberdeen a few years later. Gregory then worked on writing a journal, which was never published. He died aged ninety-five in 1720.[6][16][17]


a Records of the Family of Gregory shows the year of his death as 1650;[1] papers at University of Aberdeen indicate 1652.[2]