I am an Ogilvie and my GGGGfather was William who married Jean Shanks in 1799 in Birnie. They were both born in 1771. They had several children including David born 1809 who married Isabella Duffus born 1816. Their son Alexander was born 1838 in Elgin. He married Mary Ann Mcgilvray 1868 Elgin and they had a son Alexander Duffus born 1873 in Elgin.
William Ogilvie also had another son Robert who was born in 1805. He is my GGGfather.
I have information going back 4 further generations from William if you are interested.