"towards the close" of the century
Towards the close of the seventeenth century, the Rev. John Macrae of Dingwall wrote the MS. History of the Clan.
See The Rev. John Macrae's MS. History of the Clan
The chief written authority for the early history of the Macraes is the MS. genealogy of the Clan, which was written towards the close of the seventeenth century by the last Episcopalian minister of Dingwall, the Rev. John Macrae, who died in 1704.