In the days of the Stuarts gold used to be found in considerable quantities in the locality, from which was struck the gold issue bearing the head of James V., wearing a bonnet; hence the old term for it—a 'bonnet-piece.'
The inhabitants of the town and district of Leadhills had imbibed in Ramsay's days something of the stern, forbidding character of the scenery. The ruggedness of their surroundings had evidently sunk deep into their temperament,—and ofttimes the teaching of nature in situations like this is of the most lasting kind. So it was with them. They were a community apart: gloomily, almost fanatically, religious; believing in miracles, visions, and in the direct interposition of Providence,—in a word, carrying to the extreme of bigotry all the grand attributes of Scottish Presbyterianism and Covenanting sublimity of motive. They married and gave in marriage among themselves, looking the while rather askance at strangers as 'orra bodies' from the big world without, who, because they were strangers, ran a strong chance of being no better than they should be!
To this 'out-of-the-way' corner of the planet there was sent, towards the close of the year 1684, as manager of Lord Hopetoun's mines, a gay, happy-hearted, resourceful young Scotsman, by name Robert Ramsay. The poet, when detailing his pedigree to the father of his inamorata, had boasted that he was descended, on the paternal side, from the Ramsays of Dalhousie (afterwards Earls of that Ilk). Such was literally the case. Ramsay of Dalhousie had a younger brother, who, from the estate he held—a small parcel of the ancestral acres—bore a name, or rather an agnomen, yet to be historic in song, 'The Laird of Cockpen.' Whether in this case, like his descendant of ballad fame, the said laird was 'proud and great'; whether his mind was 'ta'en up wi' things o' the State,' history doth not record. Only on one point is it explicit, that, like his successor, he married a wife, from which union resulted Captain John Ramsay, whose only claim to remembrance is that he in turn married Janet Douglas, daughter of Douglas of Muthil, and thus brought the poet into kinship with yet another distinguished Scottish family. To the captain and his spouse a son was born, who devoted himself to legal pursuits, was a writer in Edinburgh, and acted as legal agent for the Earl of Hopetoun. Through his interest with the earl, Robert Ramsay, his eldest son, was appointed manager of the lead mines in the Lowther hills, and set out to assume his new duties towards the close of the year 1684.
From this pedigree, therefore, the fact is clear of the poet's right to address William Ramsay, Earl of Dalhousie, in terms imitated from Horace's famous Ode to Maecenas—
'Dalhousie, of an auld descent,
My chief, my stoup, my ornament.'
But to our narrative. Apparently the young mine-manager found the lines of his life by no means cast in pleasant places amid the rough semi-savage community of Leadhills in those days. He felt himself a stranger in a strange land. To better his lot, though he was still very young, he determined to marry. The only family with which he could hold intercourse on terms of equality, was that of William Bower, an English mineralogist who had been brought from Derbyshire, to instruct the Scottish miners more fully in the best methods then known for extracting the metal from the refractory matrix. But to Robert Ramsay the chief attraction in the family was the eldest daughter of his colleague, Alice Bower, a vivacious, high-spirited girl, with a sufficient modicum, we are told, of the Derbyshire breeziness of nature to render her invincibly fascinating to the youth. Alone of all those around she reminded him of the fair dames and damsels of Edinburgh. Therefore he wooed and won her. Their marriage took place early in January 1686. In the October of the same year the future poet was born.
But, alas! happiness was not long to be the portion of the wedded pair. At the early age of twenty-four Robert Ramsay died, leaving his widow, as regards this world's gear, but indifferently provided for, and, moreover, burdened with an infant scarce twelve months old.
Probably the outlook for the future was so dark that the young widow shrank from facing it. Be this as it may, we learn that three months after Robert Ramsay was laid in his grave she married David Crichton, finding a home for herself and a stepfather for the youthful Allan at one and the same time. Crichton was a small peasant-proprietor, or bonnet-laird, of the district. Though not endowed with much wealth, he seems to have been in fairly comfortable circumstances, realising his stepson's ideal in after-life, which he put into the mouth of his Patie—
'He that hath just enough can soundly sleep;
The o'ercome only fashes fouk to keep.'
Much has been written regarding the supposed unhappiness of Ramsay's boyhood in the household of his step-parent. For such a conclusion there is not a tittle of evidence. Every recorded fact of their mutual relations points the other way. David Crichton was evidently a man of high moral principle and strength of character. Not by a hairbreadth did he vary the treatment meted out to Allan from that accorded to his own children by the widow of Robert Ramsay. To the future poet he gave, as the latter more than once testified, as good an education as the parish school afforded. That it embraced something more than the 'three R's,' we have Ramsay's own testimony, direct and indirect—direct in the admission that he had learned there to read Horace 'faintly in the original'; indirect in the number and propriety of the classical allusions in his works. He lived before the era of quotation books and dictionaries of phrase and fable,—the hourly godsend of the penny-a-liner; but the felicity of his references is unquestionable, and shows an acquaintance with Latin and English literature both wide and intimate. At anyrate, his scholastic training was sufficiently catholic to imbue his mind with a reverence for the masterpieces in both languages, and to enable him to consort in after years, on terms of perfect literary equality, with the lawyers and the beaux esprits of witty Edinburgh, such as Dr. Pitcairn, Dr. Webster, and Lord Elibank.