Alexander Count O'Reilly was born in Ireland about 1735, of Roman Catholic parents, and when young entered the Spanish service as a sub-lieutenant in the Irish regiment with which he served in Italy during the war of the Spanish Succession, and received a wound from which he was rendered lame for the rest of his life. In 1751 he went to serve in Austria, and made two campaigns against the Prussians, under the orders of Marshal Count Lacy, his countryman. Then in 1759 he passed into the service of Louis XV., under whose colours was still that celebrated Irish Brigade whose native bravery so mainly contributed to win for France the glory of Fontenoy.
O'Reilly distinguished himself so much that the Marshal de Broglie recommended him to the King of Spain, with great warmth of expression, on his retiring to Madrid. The marshal's interest won him the rank of Lieutenant-Colonel, and as such he served in that war which conduced so little to the glory of Portugal, though favoured by the alliance of Britain. Nevertheless, O'Reilly found many opportunities for distinction at the head of the light troops which were confided to him, and soon won the proud reputation of being one of Spain's most gallant officers. He was now named Brigadier of the Armies of the King, with the post of aide major de l'exercise. In these capacities he drilled the Spanish infantry according to the best system of tactics and exercise then practised in the British service.
At the peace he was appointed Mariscal de Campo, and named Commandant en Seconde of Havannah, which was to be given up to Spain by the treaty of Fontainbleau. On arriving there, he restored and strengthened the fortifications of the colony, and soon after returned to Spain, where the king named him Inspector-General of Infantry, and desired him to assist in the manœuvres of a great camp, of which he gave him command. He then sent him to New Orleans, where the inhabitants had scarcely become accustomed to the Spanish yoke, and where the rigorous means employed by O'Reilly to subdue them gained him many enemies. The count returned again to Madrid, and was treated with every mark of favour by Charles III., who knew all his talents, capacity, and courage; and could never forget that it was to the strong hand and stout heart of O'Reilly he owed his life during the fiery sedition at Madrid in 1765, when the people rose in arms. Every honour Charles could bestow upon a foreigner was showered upon O'Reilly, who now gave the Spanish army (which was many years behind every other in Europe in the march of progression and improvement) a new spirit, vigour, and impulse. In this task he was assisted by his brother-in-law, Francisco Xavier Castanos, afterwards Duke of Baylen, Captain-General of Estremadura, Old Castile, and Galicia, whom he took with him to Prussia when he visited that country, like all the principal officers of Europe, to witness and examine the manœuvres practised by the troops of the Great Frederick.
In 1774, he obtained command of the expedition against Algiers. The great means of attack were entirely confided to him, and he sailed from the Spanish coast with a squadron of forty sail of the line and three hundred and fifty transports, carrying an army of thirty thousand men; but this immense armament failed to achieve its object, and O'Reilly was compelled to bear away for Spain, humiliated and mortified, and landed his discomfited troops at Barcelona, on the 24th of August in the same year.[17] Though this unfortunate result was much against his reputation as a general, it did not lessen his favour with the king, who placed him at the head of a military school which was established in Avila, at Puerto de Santa Maria, on the Adaga, in Old Castile.
Soon after this, O'Reilly was named Captain-General of Andaluzia and Governor of Cadiz. In these important posts he displayed the talents of a skilful soldier and able administrator; but he fell into complete disgrace on the death of Charles III., in 1788, and lived afterwards in a quiet retreat in Catalonia. Despite his many enemies at court, who rose into power with Charles IV., O'Reilly maintained his high military reputation in the Spanish army, and on the death of General Ricardos in 1794, the government knew of none so able as he to direct the war against the invasion of the French republican armies. He was accordingly named General of the Army of the Eastern Pyrenees, and was on his way to assume that high command when he was seized by a sudden illness, and died in his sixtieth year.
O'Reilly was fortunate, perhaps, in escaping thus the misery caused to Spain by the mistakes of the Conde de la Union, and the misfortunes consequent to reverse and defeat. His age would not have permitted him to sustain the fatigue of a war so active; and though he was the instructor of Blake and others who were esteemed the best officers of the Spanish army, as a foreigner he had many envious enemies, and all his ability as a soldier, with the sweetness and insinuating flexibility of his manner, was no guarantee to him among such a people as the Spaniards, who are ever cool and averse to strangers.
His pupil, Joachim Blake, afterwards Captain-General of Aragon and four other provinces, was the son of an eminent Irish merchant who had settled at Velez, near Malaga, and was descended from an ancient family in the county of Galway. His mother was the daughter of a wealthy Spanish banker named Joyes.
At an early age young Blake manifested an ardent predilection for the profession of arms—a predilection inherent in his race, which had given Ireland many proofs of high valour during two centuries. While yet a boy he applied himself to the science of mathematics with great success, and was soon appointed Superintendent of Cadets in the military school established by Count O'Reilly, at Puerto de Santa Maria. In 1773, Blake commenced his military career as a volunteer in the Regiment of America, for it has long been an established principle in the Spanish armies that candidates for commissions must learn the art of war in the ranks; and for some years subsequent to this he served as lieutenant and adjutant to the battalion, so great was the progress he had made in his profession, and so intimate was his knowledge of regimental economy. At the beginning of the war waged by France against Spain, he was appointed Major of the Volunteers of Castile, without serving the intermediate rank of captain; a favour never before granted to any officer, even to a Spaniard. In this capacity he led his battalion with distinguished bravery during the campaigns of 1793 and 1794, in Roussillon and Catalonia, and was wounded when storming the heights of San Lorenzo de la Maga. He was appointed colonel in 1802, without passing through the grade of lieutenant-colonel, and obtained command of a newly-raised battalion, styled Los Volontarios de la Corona—the Volunteers of the Crown; and from thenceforward he bore a prominent part in all the warlike and political broils of Spain.
After the peace in 1802, Blake was made brigadier or Mariscal de Campo, by Charles IV., and on his volunteer regiment being numbered with the Spanish line, he was further confirmed in command of it. This position he occupied until the invasion of Spain by Bonaparte and the imprisonment of the king; after which ensued the great contest known as the Peninsula War, during which, by the unanimous voice of the Galicians, he was summoned to the chief command of their valuable and extensive province.
During the second operations of Marshal Bessières (Duke of Istria) in Spain, the army of Blake—twenty thousand strong—united with the ten thousand Castilian recruits of old Don Gregorio de la Cuesta, at Benevente in July, 1808, for the purpose of opposing him; but they soon disagreed; for, contrary to the wishes of Blake, whose fiery energy consorted ill with the indolence of Cuesta, that officer left a strong division to protect stores at Benevente, and led only twenty-five thousand infantry, a few hundred horse, and thirty pieces of cannon, towards Palencia, in the beautiful Tierra de Campos. Contrary to his judgment, a battle was risked (14th July, 1808) at Medina del Rio Seco, against the French under General Lasolles.