Margaret Ogilvie is my fifth great-grandmother from Scotland, married to David Downie in 1783 in Stirling Parish.
I did a search on ScotlandsPeople and found two birth records for a "Margaret Ogilvie" born between 1755 (which would make Margaret 28 when married, which is rather old for back then) and 1767 (which would make Margaret only 15 when married, which is rather young for back then). I found two records for Stirling, Scotland, one in 1762 to James Ogilvie and Mary Richie, and another in 1762 to George Ogilvie and Christian Leishman. After looking again, I discovered that the birth to James and Mary was the only one in Stirling Parish. So while it's not definite, it seems more likely that her parents were James and Mary since the marriage record for Margaret to David Downie noted "in this Parish" which I take to mean "of this Parish". The birth record notes several other births for Ogilvie's, some of whom could be her siblings or her cousins.
I then did a search for James Ogilvie and Margaret Richie and found a marriage record from 1749, which gives James' father as John and Margaret's father as James, both deceased at the time of the marriage. This seems more likely given that the wife's name is Margaret and the daughter's name in Margaret, which was a fairly common practice back then. John Ogilvie and James Richie would be my seventh great-grandfathers. Pretty cool given that when I started all I had was some of my (first) great-grandparents.
birth record 8 Mar 1761 for Margaret Ogilvie to James Ogilvie and Mary Richie
marriage record 13 Jan 1749 for James Ogilvie and Margaret Richie