In 1571 there was concluded a famous league between Pope Pius V., Philip II. of Spain, and the Venetian Republic, against Selim, the Grand Turk, who was attacking Cyprus, then belonging to Venice. John of Austria, natural son of the celebrated Emperor Charles V., and brother of the king of Spain, was made commander-in-chief of the allied forces, both naval and military; and under him, as general of the Papal forces, was appointed Mario Antonio Colonna, Duke of Paliano. It became fashionable for the young men of the time to enlist in this expedition; and Cervantes, then about twenty-four years of age, soon enrolled himself under the standard of the Roman general. After various success on both sides, in which the operations of the Christians were not a little hindered by the dissensions of their commanders, to which the taking of Nicosia by the Turks may be imputed, the first year's cruise ended with the famous battle of Lepanto; after which the allied forces retired, and wintered at Messina.

Cervantes was present at this famous victory, where he was wounded in the left hand by a blow from a scymitar, or, as some assert, by a gunshot, so severely, that he was obliged to have it amputated at the wrist whilst in the hospital at Messina; but the operation was so unskilfully performed, that he lost the use of the entire arm ever afterwards. He was not discouraged by this wound, nor induced to give up his profession as a soldier. Indeed, he seems, from his own words, to be very proud of the honour which his loss conferred upon him. "My wound," he says, "was received on the most glorious occasion that any age, past or present, ever saw, or that the future can ever hope to see. To those who barely behold them, indeed, my wounds may not seem honourable; it is by those who know how I came by them that they will be rightly esteemed. Better is it for a soldier to die in battle than to save his life by running away. For my part I had rather be again present, were it possible, in that famous battle, than whole and sound without sharing ill the glory of it. The scars which a soldier exhibits in his breast and face are stars to guide others to the haven of honour and the love of just praise."

The year following the victory of Lepanto, Cervantes still continued with the same fleet, and took part in several attacks on the coast of the Morea. At the end of 1572, when the allied forces were disbanded, Colonna returned to Rome, whither our author probably accompanied him, since he tells us that he followed his "conquering banners." He afterwards enlisted in the Neapolitan army of the king of Spain, in which he remained for three years, though without rising above the rank of a private soldier; but it must be remembered that, at the time of which we are now speaking, such was the condition of some of the noblest men of their country; it was accounted no disgrace for even a scion of the nobility to fight as a simple halberdier, or musqueteer, in the service of his prince.

On the 26th of September, 1575, Cervantes embarked on board a galley, called the 'Sun,' and was sailing from Naples to Spain, when his ship was attacked by some Moorish corsairs, and both he and all the rest of the crew were taken prisoners, and carried off to Algiers. When the Christians were divided amongst their captors, he fell to the lot of the captain, the famous Arnauté Mami, an Albanian renegade, whose atrocious cruelties are too disgusting to be mentioned. He seems to have treated his captive with peculiar harshness, perhaps hoping that by so doing he might render him the more impatient of his servitude, and so induce him to pay a higher ransom, which the rank and condition of his friends in Europe appeared to promise. In this state Cervantes continued five years. Some have thought that in "the captive's" tale, related in Don Quixote, we may collect the particulars of his own fortunes whilst in Africa; but even granting that some of the incidents may be the same, it is now generally supposed that we shall be deceived if we regard them as any detailed account of his captivity. A man of Cervantes' enterprise and abilities was not likely to endure tamely the hardships of slavery; and we accordingly find that he was constantly forming schemes for escape. The last of these, which was the most bold and best contrived of all, failed, because he had admitted a traitor to a share in his project.

There was at Algiers a Venetian renegade, named Hassan Aga, a friend of Arnauté Mami; he had risen high in the king's favour, and occupied an important post in the government of Algiers. We have a description of this man's ferocious character in Don Quixote, given us by the Captain de Viedma. Cervantes was often sent by his master as messenger to this man's house, situated on the sea-shore, at a short distance from Algiers. One of Hassan's slaves, a native of Navarre, and a Christian, had the management of the gardens of the villa; and with him Cervantes soon formed an acquaintance, and succeeded in persuading him to allow the making of a secret cave under the garden, which would form a place of concealment for himself and fifteen of his fellow captives, on whom he could rely. When the cavern was finished, the adventurers made their escape by night from Algiers, and took up their quarters in it. Of course an alarm was raised when they were missing; but, although a most strict search after the fugitives was made, both by their masters and by Ochali, then despot of Algiers, here they lay hid for several months, being supplied with food by the gardener and another Christian slave, named El Dorador.

One of their companions, named Viana, a gentleman of Minorca, had been left behind them, so that he might bear a more active part in the escape of the whole party. A sum of money was to be raised for his ransom, and then he was to go to Europe and return with a ship in which Cervantes and his friends, including the gardener and El Dorador, were to embark on an appointed night, and so get back to their country. Viana obtained his liberty in September 1577, and having reached Minorca in safety, he easily procured a ship and came off the coast of Barbary, according to the pre-concerted plan; but before he could land, he was seen by the Moorish sentry, who raised an alarm and obliged him to put out to sea again, lest he should by coming too close attract attention to the cavern. This was a sore disappointment to Cervantes and his companions, who witnessed it all from their retreat. Still knowing Viana's courage and constancy, they had yet hopes of his returning and again endeavouring to get them off. And this he most probably would have done had it not been for the treachery at which we hinted above. El Dorador just at this time thought fit to turn renegade; and of course he could not begin his infidel career better than by infamously betraying his former friends. In consequence of his information Hassan Aga surrounded the entrance to the cave with a sufficient force to make any attempt at resistance utterly unavailing, and the sixteen poor prisoners were dragged out and conveyed in chains to Algiers. The former attempts which he made to escape caused Cervantes to be instantly fixed on as the contriver and ringleader of this plot; and therefore, whilst the other fifteen were sent back to their masters to be punished as they thought fit, he was detained by the king himself, who hoped through him to obtain further information, and so implicate the other Christians, and perhaps also some of the renegades. Even had he possessed any such information, which most likely he did not, Cervantes was certainly the very last man to give it: notwithstanding various examinations and threats, he still persisted in asserting that he was the sole contriver of the plot, till at length, by his firmness, he fairly exhausted the patience of Ochali. Had Hassan had his way, Cervantes would have been strangled as an example to all Christians who should hereafter try to run away from their captivity, and the king himself was not unwilling to please him in this matter; but then he was not their property, and Mami, to whom he belonged, would not consent to lose a slave whom he considered to be worth at least two hundred crowns. Thus did the avarice of a renegade save the future author of Don Quixote from being strangled with the bowstring. Some of the particulars of this affair are given us by Cervantes himself; but others are collected from Father Haedo, the contemporary author of a history of Barbary. "Most wonderful thing," says the worthy priest, "that some of these gentlemen remained shut up in the cavern for five, six, even for seven months, without even so much as seeing the light of day; and all the time they were sustained only by Miguel de Cervantes, and that too at the great and continual risk of his own life; no less than four times did he incur the nearest danger of being burnt alive, impaled, or strangled, on account of the bold things which he dared in hopes of bestowing liberty upon many. Had his fortune corresponded to his spirit, skill, and industry, Algiers might at this day have been in the possession of the Christians, for his designs aspired to no less lofty a consummation. In the end, the whole affair was treacherously discovered; and the gardener, after being tortured and picketed, perished miserably. But, in truth, of the things which happened in that cave during the seven months that it was inhabited by these Christians, and altogether of the captivity and various enterprises of Miguel de Cervantes, a particular history might easily be formed. Hassan Aga was wont to say that, 'could he but be sure of that handless Spaniard, he should consider captives, barks, and the whole city of Algiers in perfect safety.'"

And Ochali seems to have been of the same opinion; for he did not consider it safe to leave so dangerous a character as Cervantes in private hands, and so we accordingly find that he himself bought him of Mami, and then kept him closely confined in a dungeon in his own palace, with the utmost cruelty. It is probable, however, that the extreme hardship of Cervantes' case did really contribute to his liberation. He found means of applying to Spain for his redemption; and in consequence his mother and sister (the former of whom had now become a widow, and the latter, Donna Andrea de Cervantes, was married to a Florentine gentleman named Ambrosio) raised the sum of two hundred and fifty crowns, to which a friend of the family, one Francisco Caramambel, contributed fifty more. This sum was paid into the hands of Father Juan Gil and Father Antonio de la Vella Trinitarios, brethren of the 'Society for the Redemption of Slaves,'[1] who immediately set to work to ransom Cervantes. His case was, however, a hard one; for the king asked a thousand crowns for his freedom; and the negotiation on this head caused a long delay, but was at last brought to an issue by the abatement of the ransom to the sum of five hundred crowns; the two hundred still wanting were made up by the good fathers, the king threatening that if the bargain were not concluded, Cervantes should be carried off to Constantinople; and he was actually on board the galley for that purpose. So by borrowing some part of the required amount, and by taking the remainder from what was originally intrusted for the ransoming of other slaves, these worthy men procured our author his liberty, and restored him to Spain in the spring of 1581.

[1] Societies of this description, though not so common as in Spain, existed also in other countries. In England, since the Reformation, money bequeathed for this purpose was placed in the hands of some of the large London companies or guilds. Since the destruction of Algiers, by Lord Exmouth, and still later since the abolition of that piratical kingdom by the French, such charitable bequests, having become useless for their original purpose, have in some instances been devoted to the promotion of education by a decree of Chancery. This is the case with a large sum, usually known as 'Betton's gift,' in the trusteeship of the Ironmongers' Company.

On his return to his native land the prospects of Cervantes were not very flattering. He was now thirty-four years of age, and had spent the best portion of his life without making any approach towards eminence or even towards acquiring the means of subsistence; his adventures, enterprises, and sufferings had, indeed, furnished him with a stock from which in after years his powerful mind drew largely in his writings; but since he did not at first devote himself to literary pursuits, at least not to those of an author, they could not afford him much consolation; and as to a military career, his wound and long captivity seemed to exclude him from all hope in that quarter. His family was poor, their scanty means having suffered from the sum raised for his ransom; and his connexions and friends were powerless to procure him any appointment at the court. He went to live at Madrid, where his mother and sister then resided, and there once more betook himself to the pursuit of his younger days. He shut himself up, and eagerly employed his time in reading every kind of books; Latin, Spanish, and Italian authors—all served to contribute to his various erudition.

Three whole years were thus spent; till at length he turned his reading to some account, by publishing, in 1584, a pastoral novel entitled Galatæa. Some authors, amongst whom is Pellicer, are inclined to think that dramatic composition was the first in which he appeared before the public; but such an opinion has, by competent judges, been now abandoned. Galatæa, which is interspersed with songs and verses, is a work of considerable merit, quite sufficient, indeed, though of course inferior to Don Quixote, to have gained for its author a high standing amongst Spanish writers; though in it we discern nothing of that peculiar style which has made Cervantes one of the most remarkable writers that ever lived,—that insight into human character, and that vein of humour with which he exposes and satirises its failings. It being so full of short metrical effusions would almost incline us to believe that it was written for the purpose of embodying the varied contents of a sort of poetical commonplace-book; some of which had, perhaps, been written when he was a youth under the tuition of his learned preceptor Juan Lopez de Hoyos; others may have been the pencillings of the weary hours of his long captivity in Africa. As a specimen of his power in the Spanish language it is quite worthy of him who in after years immortalised that tongue by the romance of Don Quixote. It had been better for Cervantes had he gone on in this sort of fictitious composition, instead of betaking himself to the drama, in which he had very formidable rivals, and for which, as was afterwards proved, his talents were less adapted.