A strict residence in a country place was not in the least suitable to the restless temper of Swift. He was perpetually making excursions not only to Dublin, and other places in Ireland, but likewise to London; so rambling a disposition occasioned to him a considerable loss. The rich deanery of Derry became vacant at this time, and was intended for him by lord Berkley, if Dr. King, then bishop of Derry, and afterwards archbishop of Dublin, had not interposed; entreating with great earnestness, that the deanery might be given to some grave and elderly divine, rather than to so young a man 'because (added the bishop) the situation of Derry is in the midst of Presbyterians, and I should be glad of a clergyman, who might be of assistance to me. I have no objection to Mr. Swift. I know him to be a sprightly ingenious young man; but instead of residing, I dare say he will be eternally flying backwards and forwards to London; and therefore I entreat that he may be provided for in some other place.'

Swift was accordingly set aside on account of youth, and from the year 1702, to the change of the ministry in the year 1710, few circumstances of his life can be found sufficiently material to be inserted here. From this last period, 'till the death of Queen Anne, we find him fighting on the side of the Tories, and maintaining their cause in pamphlets, poems, and weekly papers. In one of his letters to Mr. Pope he has this expression, 'I have conversed, in some freedom, with more ministers of state, of all parties, than usually happens to men of my level; and, I confess, in their capacity as ministers I look upon them as a race of people, whose acquaintance no man would court otherwise, than on the score of vanity and ambition.' A man always appears of more consequence to himself, than he is in reality to any other person. Such, perhaps, was the case of Dr. Swift. He knew how useful he was to the administration in general; and in one of his letters he mentions, that the place of historiographer was intended for him; but in this particular he flattered himself; at least, he remained without any preferment 'till the year 1713, when he was made dean of St. Patrick's. In point of power and revenue, such a deanery might be esteemed no inconsiderable promotion; but to an ambitious mind, whose perpetual view was a settlement in England, a dignity in any other country must appear only a profitable and an honourable kind of banishment. It is very probable, that the temper of Swift might occasion his English friends to wish him promoted at a distance. His spirit was ever untractable. The motions of his genius were often irregular. He assumed more of the air of a patron, than of a friend. He affected rather to dictate than advise. He was elated with the appearance of enjoying ministerial confidence. He enjoyed the shadow indeed, but the substance was detained from him. He was employed, not entrusted; and at the same time he imagined himself a subtle diver, who dextrously shot down into the profoundest regions of politics, he was suffered only to sound the shallows nearest the shore, and was scarce admitted to descend below the froth at the top. Swift was one of those strange kind of Tories, who lord Bolingbroke, in his letter to Sir William Wyndham, calls the Whimsicals, that is, they were Tories attach'd to the Hanoverian succession. This kind of Tory is so incongruous a creature, that it is a wonder ever such a one existed. Mrs. Pilkington informs us, that Swift had written A Defence of the last Ministers of Queen Anne, from an intention of restoring the Pretender, which Mr. Pope advised him to destroy, as not one word of it was true. Bolingbroke, by far the most accomplished man in that ministry (for Oxford was, in comparison of him, a statesman of no compass) certainly aimed at the restoration of the exiled family, however he might disguise to some people his real intentions, under the masque of being a Hanoverian Tory. This serves to corroberate the observation which lord Orrery makes of Swift: 'that he was employed, not trusted, &c.'

By reflexions of this sort, says lord Orrery, we may account for his disappointment of an English bishopric. A disappointment, which, he imagined, he owed to a joint application, made against him to the Queen, by Dr. Sharp, archbishop of York, and by a lady of the highest rank and character. Archbishop Sharpe, according to Swift's account, had represented him to the Queen as a person, who was no Christian; the great lady had supported the assertion, and the Queen, upon such assurances, had given away the bishopric, contrary to her Majesty's intentions. Swift kept himself, indeed, within some tolerable bounds when he spoke of the Queen; but his indignation knew no limits when he mentioned the archbishop, or the lady.

Most people are fond of a settlement in their native country, but Swift had not much reason to rejoice in the land where his lot had fallen; for upon his arrival in Ireland to take possesion of the deanery, he found the violence of party raging in that kingdom to the highest degree. The common people were taught to consider him as a Jacobite, and they proceeded so far in their detestation, as to throw stones and dirt at him as he passed thro' the streets. The chapter of St. Patrick's, like the rest of the kingdom, received him with great reluctance. They opposed him in every point he proposed. They avoided him as a pestilence, and resisted him as an invader and an enemy to his country. Such was his first reception, as dean of St. Patrick's. Fewer talents, and less firmness must have yielded to so outrageous an opposition. He had seen enough of human nature to be convinced that the passions of low, self-interested minds ebb and flow continually. They love they know not whom, they hate they know not why. They are captivated by words, guided by names, and governed by accidents. But to few the strange revolutions in this world, Dr. Swift, who was now the detestion of the Irish rabble, lived to be afterwards the most absolute monarch over them, that ever governed men. His first step was to reduce to reason and obedience his revd. brethren the the chapter of St. Patrick's; in which he succeeded so perfectly, and so speedily, that, in a short time after his arrival, not one member in that body offered to contradict him, even in trifles: on the contrary, they held him in the highest respect and veneration, so that he sat in the Chapter-House, like Jupiter in the Synod of the Gods.

In the beginning of the year 1714 Swift returned to England. He found his great friends, who sat in the seat of power, much disunited among themselves. He saw the Queen declining in her health, and distressed in her situation; while faction was exerting itself, and gathering new strength every day. He exerted the utmost of his skill to unite the ministers, and to cement the apertures of the state: but he found his pains fruitless, his arguments unavailing, and his endeavours, like the stone of Sisyphus, rolling back upon himself. He retired to a friend's house in Berkshire, where he remained 'till the Queen died. So fatal an event terminated all his views in England, and made him return as fast as possible to his deanery in Ireland, oppressed with grief and discontent. His hopes in England were now crushed for ever. As Swift was well known to have been attached to the Queen's last ministry, he met with several indignities from the populace, and, indeed, was equally abused by persons of all ranks and denominations. Such a treatment soured his temper, confined his acquaintance, and added bitterness to his stile.

From the year 1714, 'till he appeared in the year 1720 a champion for Ireland, against Wood's halfpence, his spirit of politics and patriotism was kept almost closely confined within his own breast. Idleness and trifles engrossed too many of his leisure hours; fools and sycophants too much of his conversation. His attendance upon the public service of the church was regular and uninterrupted; and indeed regularity was peculiar to all his actions, even in the meerest trifles. His hours of walking and reading never varied. His motions were guided by his watch, which was so constantly held in his hand, or placed before him on the table, that he seldom deviated many minutes in the revolution of his exercises and employments. In the year 1720 he began to re-assume, in some degree, the character of a political writer. A small pamphlet in defence of the Irish Manufactures was his first essay in Ireland in that kind of writing, and to that pamphlet he owed the turn of the popular tide in his favour. It was entitled, A Proposal for the Universal Use of Irish Manufacture in Clothes and Furniture of Houses, &c. utterly rejecting and renouncing every thing wearable that comes from England. This proposal immediately raised a very violent flame. The Printer was prosecuted, and the prosecution had the same effect, which generally attends those kind of measures. It added fuel to flame. But his greatest enemies must confess, that the pamphlet is written in the stile of a man who had the good of his country nearest his heart, who saw her errors, and wished to correct them; who felt her oppressions, and wished to relieve them; and who had a desire to rouze and awaken an indolent nation from a lethargic disposition, that might prove fatal to her constitution. This temporary opposition but increased the stream of his popularity. He was now looked upon in a new light, and was distinguished by the title of THE DEAN, and so high a degree of popularity did he attain, as to become an arbitrator, in disputes of property, amongst his neighbours; nor did any man dare to appeal from his opinion, or murmur at his decrees.

But the popular affection, which the dean had hitherto acquired, may be said not to have been universal, 'till the publication of the Drapier's Letters, which made all ranks, and all professions unanimous in his applause. The occasion of those letters was, a scarcity of copper coin in Ireland, to so great a degree, that, for some time past, the chief manufacturers throughout the kingdom were obliged to pay their workmen in pieces of tin, or in other tokens of suppositious value. Such a method was very disadvantageous to the lower parts of traffic, and was in general an impediment to the commerce of the state. To remedy this evil, the late King granted a patent to one Wood, to coin, during the term of fourteen years, farthings and halfpence in England, for the use of Ireland, to the value of a certain Aim specified. These halfpence and farthings were to be received by those persons, who would voluntarily accept them. But the patent was thought to be of such dangerous consequence to the public, and of such exorbitant advantage to the patentee, that the dean, under the character of M. B. Drapier, wrote a Letter to the People, warning them not to accept Wood's halfpence and farthings, as current coin. This first letter was succeeded by several others to the same purpose, all which are inserted in his works.

At the sound of the Drapier's trumpet, a spirit arose among the people. Persons of all ranks, parties and denominations, were convinced that the admission of Wood's copper must prove fatal to the commonwealth. The Papist, the Fanatic, the Tory, the Whig, all listed themselves volunteers, under the banner of the Drapier, and were all equally zealous to serve the common cause. Much heat, and many fiery speeches against the administration were the consequence of this union; nor had the flames been allayed, notwithstanding threats and proclamations, had not the coin been totally suppressed, and Wood withdrawn his patent. The name of Augustus was not bestowed upon Octavius Cæsar with more universal approbation, than the name of the Drapier was bestowed upon the dean. He had no sooner assumed his new cognomen, than he became the idol of the people of Ireland, to a degree of devotion, that in the most superstitious country, scarce any idol ever obtained. Libations to his health were poured out as frequent as to the immortal memory of King William. His effigies was painted in every street in Dublin. Acclamations and vows for his prosperity attended his footsteps wherever he passed. He was consulted in all points relating to domestic policy in general, and to the trade of Ireland in particular; but he was more immediately looked upon as the legislator of the Weavers, who frequently came in a body, consisting of 40 or 50 chiefs of their trade, to receive his advice in settling the rates of their manufactures, and the wages of their journeymen. He received their address with less majesty than sternness, and ranging his subjects in a circle round his parlour, spoke as copiously, and with as little difficulty and hesitation, to the several points in which they supplicated his assistance, as if trade had been the only study and employment of his life. When elections were depending for the city of Dublin, many Corporations refused to declare themselves, 'till they had consulted his sentiments and inclinations, which were punctually followed with equal chearfulness and submission.

In this state of power, and popular admiration, he remained 'till he lost his senses; a loss which he seemed to foresee, and prophetically lamented to many of his friends. The total deprivation of his senses came upon him by degrees. In the year 1736 he was seized with a violent fit of giddiness; he was at that time writing a satirical poem, called The Legion Club; but he found the effects of his giddiness so dreadful, that he left the poem unfinished, and never afterwards attempted a composition, either in verse or prose. However, his conversation still remained the same, lively and severe, but his memory gradually grew worse and worse, and as that decreased, he grew every day more fretful and impatient. In the year 1741, his friends found his passions so violent and ungovernable, his memory so decayed, and his reason so depraved, that they took the utmost precautions to keep all strangers from approaching him; for, 'till then, he had not appeared totally incapable of conversation. But early in the year 1742, the small remains of his understanding became entirely confused, and the violence of his rage increased absolutely to a degree of madness. In this miserable state he seemed to be appointed the first inhabitant of his own Hospital; especially as from an outrageous lunatic, he sunk afterwards to a quiet speechless ideot; and dragged out the remainder of his life in that helpless situation. He died towards the latter end of October 1745. The manner of his death was easy, without the least pang, or convulsion; even the rattling of his throat was scarce sufficient to give an alarm to his attendants, 'till within some very little time before he expired. A man in possession of his reason would have wished for such a kind dissolution; but Swift was totally insensible of happiness, or pain. He had not even the power or expression of a child, appearing for some years before his death, referred only as an example to mortify human pride, and to reverse that fine description of human nature, which is given us by the inimitable Shakespeare. 'What a piece of work is man! how noble in reason! how infinite in faculty! in form and moving how express and admirable! in action how like an angel! in apprehension how like a God! the beauty of the world! the paragon of animals!' Swift's friends often heard him lament the state of childhood and idiotism, to which some of the greatest men of this nation were reduced before their death. He mentioned, as examples within his own time, the duke of Marlborough and lord Somers; and when he cited these melancholy instances, it was always with a heavy sigh, and with gestures that shewed great uneasiness, as if he felt an impulse of what was to happen to him before he died. He left behind him about twelve thousand pounds, inclusive of the specific legacies mentioned in his will, and which may be computed at the sum of twelve hundred pounds, so that the remaining ten thousand eight hundred pounds, is entirely applicable to the Hospital for Idiots and Lunatics; an establishment remarkably generous, as those who receive the benefit, must for ever remain ignorant of their benefactor.

Lord Orerry has observed, that a propension to jocularity and humour is apparent in the last works of Swift. His Will, like all his other writings, is drawn up in his own peculiar manner. Even in so serious a composition, he cannot help indulging himself in leaving legacies, that carry with them an air of raillery and jest. He disposes of his three best hats (his best, his second best, and his third best beaver) with an ironical solemnity, that renders the bequests ridiculous. He bequeaths, 'To Mr. John Grattan a silver-box, to keep in it the tobacco which the said John usually chewed, called pigtail.' But his legacy to Mr. Robert Grattan, is still more extraordinary. 'Item, I bequeath to the Revd. Mr. Robert Grattan, Prebendary of St. Audeon's, my strong box, on condition of his giving the sole use of the said box to his brother, Dr. James Grattan, during the life of the said Doctor, who hath more occasion for it.'