On the 9th of May, 1704, an English fleet appeared off Lisbon, and landed the archduke Charles, together with 10,000 men. A very few months after his arrival, the court of Portugal was plunged into the deepest distress by the death of the infanta, a child of eight years old, who was betrothed to the archduke. It being of the greatest importance to lose no time in commencing hostilities, the troops were scarcely landed before they were employed in actual service. Nothing decisive occurred during the first campaign; good and ill success equally attended their arms; and the English alone gained a conquest, which they have constantly preserved. The Spaniards, from the most unpardonable negligence, having left Gibraltar with only a garrison of a hundred men, it was taken on the 4th of August by the English, who fought under the command of the prince of Darmstadt, and admiral Rooke.

The second campaign in 1705 was of very little importance; and the advantages obtained in that of the following year, were much more brilliant than solid. On the 16th of June, lord Galway and the marquis de Minas entered Madrid without resistance, and caused the archduke Charles to be proclaimed king of Spain: the greater part of the people, however, faithful to their first engagements, ventured even on the same day to shout out “Long live Philip the Vth, our lawful sovereign.” Such marks of affection, testified by the Spaniards, and at such a moment, were a certain presage that the triumph of the archduke would be but of short duration.

The English and Portugueze armies quitted Madrid on the 1st of August, and prudently avoided engaging the Spanish and French troops, commanded by marshal Berwick, having been informed, that they had recently received a powerful reinforcement from France. The English and Portugueze generals were on this occasion condemned or excused, according to the dictates of party spirit, for not having taken greater advantage of so fortunate a beginning.

The Portugueze troops being returned to their winter quarters, the king gave orders for the levying of twelve thousand men, being determined to carry on the war with the greatest spirit and activity; but unfortunately for Portugal and its allies, don Pedro departed this life, after a very short illness, on the 9th of December, 1706.

An historian of merit[30] has ventured to blame this prince for not remaining neuter in the war of the succession; but we have already seen that he was forced into hostile measures, by the conduct of the different parties. Other historians, still more severe, accuse him of not attending sufficiently to the important objects of agriculture and commerce. Nothing can be more unjust in most particulars than these reproaches, since it was during his reign that vegetables, and the most delicious fruits first flourished in Portugal,[31] and that the famous treaty was made with England, by which the latter power entered into engagements to take Portugueze wines in exchange for English manufactures.

Cotemporary writers have done more justice to the merits of this sovereign, and allowed him not only the eminent virtues which ought to adorn a great monarch, but the superior talents of a wise administrator. Posterity has gone still farther, attributing to him the double merit of having, by his first alliance with Spain, gloriously terminated a dangerous revolution in the state, and of having carried his point, by quietly effecting another revolution in his own family.

John the Vth, the son of don Pedro (or Pedro the IId) succeeded to the throne on the 9th of December, 1706, but was not solemnly proclaimed king till the 1st of January, 1707. This young prince, aged only seventeen years, continued faithful to the engagements taken by his father with the allied powers, against France and Spain, and put every thing in order to carry on the war with the greatest vigour. Success, however, did not wait upon his arms, for Philip the Vth having returned to his capital on the 8th of October, 1706, gave the command of the army destined to act against Portugal to marshal Berwick, who on the 15th of April, 1707, gained a complete victory over the allied armies, under the command of lord Galway, at the celebrated battle of Almanza, where the greater part of the Portugueze present on the occasion were either killed or taken prisoners. An extraordinary circumstance, and the only one of the kind to be met with in history, took place at this battle, where the English, under the command of a French general,[32] were beaten by an English one who commanded the French army.

The year 1708, though it affords nothing very interesting relative to the actions which took place between Spain and Portugal, must always recal to our memory the noblest victory ever obtained by humanity over the ravages of war; since the kings of those two countries, by mutual agreement, prevented hostilities of any kind being committed against husbandmen and vine-dressers.

John the Vth, in the same year, united himself by still closer ties to the house of Austria; and on the 8th of October formed an alliance with the second daughter of the emperor Leopold. The joy occasioned by this marriage was greatly augmented by the arrival of a fleet of merchantmen, consisting of a hundred sail, from Brazil, having on board to the amount of six millions sterling in gold, diamonds and tobacco.

Nothing could be more timely than this supply; the subsidies promised to the Portugueze being very ill paid, and their army having suffered considerably, on the 7th of May, 1709, when the Portugueze were defeated on the banks of the Caya, by the marquis de Bay, in the campaign of Gudina.[33] The king was also obliged to withstand the instances of his allies, in an affair which he was decided not to give up; and the ambassadors from the Empire and England, together with the States-General, having remonstrated in the strongest manner about the franchises of foreign ministers, which his father had abolished twenty years before, he resisted all their arguments with a firmness they little expected, and, forced them to lay aside their claims. The year 1709, which began so prosperously for the archduke Charles, ended in the most disastrous manner for him and for Portugal.