By the care of his friends, among whom Pope appears to have shown particular tenderness, his health was restored; and, returning to his studies, he wrote a tragedy, called the Captives, which he was invited to read before the princess of Wales. When the hour came, he saw the princess and her ladies all in expectation, and advancing with reverence, too great for any other attention, stumbled at a stool, and falling forward threw down a weighty japan screen. The princess started, the ladies screamed, and poor Gay, after all the disturbance, was still to read his play[31].

The fate of the Captives, which was acted at Drury-lane in 1723-4, I know not[32]; but he now thought himself in favour, and undertook, 1726, to write a volume of fables for the improvement of the young duke of Cumberland. For this he is said to have been promised a reward, which he had, doubtless, magnified with all the wild expectations of indigence and vanity.

Next year the prince and princess became king and queen, and Gay was to be great and happy; but, upon the settlement of the household, he found himself appointed gentleman usher to the princess Louisa. By this offer he thought himself insulted, and sent a message to the queen, that he was too old for the place. There seem to have been many machinations employed afterwards in his favour; and diligent court was paid to Mrs. Howard, afterwards countess of Suffolk, who was much beloved by the king and queen, to engage her interest for his promotion; but solicitations, verses, and flatteries, were thrown away; the lady heard them, and did nothing.

All the pain which he suffered from the neglect, or, as he, perhaps, termed it, the ingratitude of the court, may be supposed to have been driven away by the unexampled success of the Beggars’ Opera. This play, written in ridicule of the musical Italian drama, was first offered to Cibber and his brethren at Drury-lane, and rejected; it being then carried to Rich, had the effect, as was ludicrously said, of making Gay rich, and Rich gay.

Of this lucky piece, as the reader cannot but wish to know the original and progress, I have inserted the relation which Spence has given in Pope’s words.

“Dr. Swift had been observing once to Mr. Gay, what an odd pretty sort of a thing a Newgate pastoral might make. Gay was inclined to try at such a thing, for some time; but afterwards thought it would be better to write a comedy on the same plan. This was what gave rise to the Beggars’ Opera. He began on it; and when first he mentioned it to Swift, the doctor did not much like the project. As he carried it on, he showed what he wrote to both of us, and we now and then gave a correction, or a word or two of advice; but it was wholly of his own writing. When it was done, neither of us thought it would succeed. We showed it to Congreve; who, after reading it over, said, it would either take greatly, or be damned confoundedly. We were all, at the first night of it, in great uncertainty of the event; till we were very much encouraged by overhearing the duke of Argyle, who sat in the next box to us, say, ‘It will do—it must do! I see it in the eyes of them.’ This was a good while before the first act was over, and so gave us ease soon; for that duke, besides his own good taste, has a particular knack, as any one now living, in discovering the taste of the publick. He was quite right in this, as usual; the good-nature of the audience appeared stronger and stronger every act, and ended in a clamour of applause.”

Its reception is thus recorded in the notes to the Dunciad.

“This piece was received with greater applause than was ever known. Besides being acted in London sixty-three days, without interruption, and renewed the next season with equal applause, it spread into all the great towns of England; was played in many places to the thirtieth and fortieth time; at Bath and Bristol fifty, &c. It made its progress into Wales, Scotland, and Ireland, where it was performed twenty-four days successively. The ladies carried about with them the favourite songs of it in fans, and houses were furnished with it in screens. The fame of it was not confined to the author only. The person who acted Polly, till then obscure, became, all at once, the favourite of the town; her pictures were engraved, and sold in great numbers; her life written, books of letters and verses to her published, and pamphlets made even of her sayings and jests. Furthermore, it drove out of England, for that season, the Italian opera, which had carried all before it for ten years.”

Of this performance, when it was printed, the reception was different, according to the different opinion of its readers. Swift commended it for the excellence of its morality, as a piece that “placed all kinds of vice in the strongest and most odious light;” but others, and among them Dr. Herring, afterwards archbishop of Canterbury, censured it, as giving encouragement not only to vice, but to crimes, by making a highwayman the hero, and dismissing him, at last, unpunished. It has been even said, that, after the exhibition of the Beggars’ Opera, the gangs of robbers were evidently multiplied.

Both these decisions are surely exaggerated. The play, like many others, was plainly written only to divert, without any moral purpose, and is, therefore, not likely to do good; nor can it be conceived, without more speculation than life requires or admits, to be productive of much evil. Highwaymen and housebreakers seldom frequent the playhouse, or mingle in any elegant diversion; nor is it possible for any one to imagine that he may rob with safety, because he sees Macheath reprieved upon the stage.