Not long after he was called to serve the office of high-sheriff for the county of Cambridge. In 1770 he quitted his seat there for a house which he purchased in Bath. The greater convenience of obtaining instruction for a numerous family, the education of which had hitherto been superintended by himself, was one of the motives that induced him to this change of habitation.

The Heroic Epistle to Sir William Chambers appearing soon after his arrival at Bath, and being by many imputed to a writer who had lately so much distinguished himself by his talent for satire, he was at considerable pains to disavow that publication; and by some lines containing a deserved compliment to his sovereign, gave a sufficient pledge for the honesty of his disclaimer.

In 1776, a poem entitled An Election Ball, founded on a theme proposed by Lady Miller, who held a sort of little poetical court at her villa at Batheaston, did not disappoint the expectations formed of the author of the Bath Guide. It was at first written in the Somersetshire dialect, but was afterwards judiciously stripped of its provincialism.

About 1786 he entertained a design of collecting his poems, and publishing them together. But the painful recollections which this task awakened, of those friends and companions of his youth who had been separated from him by death during so long a period, made him relinquish his intention. He committed, however, to the press, translations of some of Gay's Fables, which had been made into Latin, chiefly with a view to the improvement of his children; an Alcaic Ode to Doctor Jenner, on the discovery of the Cowpock; and several short poems in his own language. "His increasing years," to use the words of his son, "stole inperceptibly on the even tenor of his life, and gradually lessened the distance of his journey through it, without obscuring the serenity of the prospect. Unimpeded by sickness, and unclouded by sorrow, or any serious misfortune, his life was a life of temperance, of self-denial, and of moderation, in all things; and of great regularity. He rose early in the morning, ante diem poscens chartas, and was constant on horseback at his usual hour, and in all seasons. His summers were uniformly passed at Cheltenham, with his family, during the latter part of his life; and upon his return to Bath in the autumn, he fell habitually into the same unruffled scenes of domestic ease and tranquillity, rendered every day more joyous and interesting to him by the increase of his family circle, and the enlargement of his hospitable table; and by many circumstances and occurrences connected with the welfare of his children, which gave him infinite delight and satisfaction."

At the beginning of 1805, he experienced a sudden and general failure of his bodily faculties, and a correspondent depressure of mind. The little confidence he placed in the power of medicine made him reluctantly comply with the wishes of his friends, that he should take the opinion of Doctor Haygarth. Yet he was not without hope of alleviation to his complaints from change of air; and, therefore, removed from Bath to the house of his son-in-law, Mr. Bosanquet, in Wiltshire. Here having at first revived a little, he soon relapsed, and declining gradually, expired in the eighty-first year of his age, without apparent suffering, in the possession of his intellectual powers, and, according to the tender wish of Pindar for one of his patrons—

[Greek: huion, psaumi, paristamenon,]

in the midst of his children.

He was buried in the parish church of Walcot, in the city of Bath, in the same vault with his fourth daughter the wife of Rear-Admiral Sotheby, and her two infant children.

A cenotaph has been erected to his memory among the poets of his country in Westminster Abbey, by his eldest son, the Rev. Christopher Anstey, with the following inscription:—

M.S.
Christopheri Anstey, Arm.
Alumni Etonensis,
Et Collegii Regalis apud Cantabrigienses olim Socii,
Poetae,
Literis elegantioribus adprime ornati,
Et inter principes Poetarum,
Qui in eodem genere floruerunt,
Sedem eximiam tenentis.
Ille annum circiter
MDCCLXX.
Rus suum in agro Cantabrigiensi
Mutavit Bathonia,
Quem locum ei praeter omne dudum arrisisse
Testis est, celeberrimum illud Poema,
Titulo inde ducto insignitum:
Ibi deinceps sex et triginta annos commoratus,
Obiit A.D. MDCCCV.
Et aetatis suae
Octogesimo primo.