For this seizure of neutral territory he offered no excuse other than that the Beys, who were the real rulers of Egypt, had favoured English commerce and were guilty of some outrages on French merchants. He strove, however, to induce the Sultan of Turkey to believe that the French invasion of Egypt was a friendly act, as it would overthrow the power of the Mamelukes, who had reduced Turkish authority to a mere shadow. This was the argument which he addressed to the Turkish officials, but it proved to be too subtle even for the oriental mind fully to appreciate. Bonaparte's chief concern was to win over the subject population, which consisted of diverse races. At the surface were the Mamelukes, a powerful military order, possessing a magnificent cavalry, governed by two Beys, and scarcely recognizing the vague suzerainty claimed by the Porte. The rivalries of the Beys, Murad and Ibrahim, produced a fertile crop of discords in this governing caste, and their feuds exposed the subject races, both Arabs and Copts, to constant forays and exactions. It seemed possible, therefore, to arouse them against the dominant caste, provided that the Mohammedan scruples of the whole population were carefully respected. To this end, the commander cautioned his troops to act towards the Moslems as towards "Jews and Italians," and to respect their muftis and imams as much as "rabbis and bishops." He also proclaimed to the Egyptians his determination, while overthrowing Mameluke tyranny, to respect the Moslem faith: "Have we not destroyed the Pope, who bade men wage war on Moslems? Have we not destroyed the Knights of Malta, because those fools believed it to be God's will to war against Moslems?" The French soldiers were vastly amused by the humour of these proceedings, and the liberated people fully appreciated the menaces with which Bonaparte's proclamation closed, backed up as these were by irresistible force.[102]

After arranging affairs at Alexandria, where the gallant Kléber was left in command, Bonaparte ordered an advance into the interior. Never, perhaps, did he show the value of swift offensive action more decisively than in this prompt march on Damanhour across the desert. The other route by way of Rosetta would have been easier; but, as it was longer, he rejected it, and told off General Menou to capture that city and support a flotilla of boats which was to ascend the Nile and meet the army on its march to Cairo. On July 4th the first division of the main force set forth by night into the desert south of Alexandria. All was new and terrible; and, when the rays of the sun smote on their weary backs, the murmurings of the troops grew loud. This, then, was the land "more fertile than Lombardy," which was the goal of their wanderings. "See, there are the six acres of land which you are promised," exclaimed a waggish soldier to his comrade as they first gazed from ship-board on the desert east of Alexandria; and all the sense of discipline failed to keep this and other gibes from the ears of staff officers even before they reached that city. Far worse was their position now in the shifting sand of the desert, beset by hovering Bedouins, stung by scorpions, and afflicted by intolerable thirst. The Arabs had filled the scanty wells with stones, and only after long toil could the sappers reach the precious fluid beneath. Then the troops rushed and fought for the privilege of drinking a few drops of muddy liquor. Thus they struggled on, the succeeding divisions faring worst of all. Berthier, chief of the staff, relates that a glass of water sold for its weight in gold. Even brave officers abandoned themselves to transports of rage and despair which left them completely prostrate.[103]

But Bonaparte flinched not. His stern composure offered the best rebuke to such childish sallies; and when out of a murmuring group there came the bold remark, "Well, General, are you going to take us to India thus," he abashed the speaker and his comrades by the quick retort, "No, I would not undertake that with such soldiers as you." French honour, touched to the quick, reasserted itself even above the torments of thirst; and the troops themselves, when they tardily reached the Nile and slaked their thirst in its waters, recognized the pre-eminence of his will and his profound confidence in their endurance. French gaiety had not been wholly eclipsed even by the miseries of the desert march. To cheer their drooping spirits the commander had sent some of the staunchest generals along the line of march. Among them was the gifted Caffarelli, who had lost a leg in the Rhenish campaign: his reassuring words called forth the inimitable retort from the ranks: "Ah! he don't care, not he: he has one leg in France." Scarcely less witty was the soldier's description of the prowling Bedouins, who cut off stragglers and plunderers, as "The mounted highway police."

After brushing aside a charge of 800 Mamelukes at Chebreiss, the army made its way up the banks of the Nile to Embabeh, opposite Cairo. There the Mamelukes, led by the fighting Bey, Murad, had their fortified camp; and there that superb cavalry prepared to overwhelm the invaders in a whirlwind rush of horse (July 21st, 1798). The occasion and the surroundings were such as to inspire both sides with deperate resolution. It was the first fierce shock on land of eastern chivalry and western enterprise since the days of St. Louis; and the ardour of the republicans was scarcely less than that which had kindled the soldiers of the cross. Beside the two armies rolled the mysterious Nile; beyond glittered the slender minarets of Cairo; and on the south there loomed the massy Pyramids. To the forty centuries that had rolled over them, Bonaparte now appealed, in one of those imaginative touches which ever brace the French nature to the utmost tension of daring and endurance. Thus they advanced in close formation towards the intrenched camp of the Mamelukes. The divisions on the left at once rushed at its earthworks, silenced its feeble artillery, and slaughtered the fellahin inside.

But the other divisions, now ranged in squares, while gazing at this exploit, were assailed by the Mamelukes. From out the haze of the mirage, or from behind the ridges of sand and the scrub of the water-melon plants that dotted the plain, some 10,000 of these superb horsemen suddenly appeared and rushed at the squares commanded by Desaix and Reynier. Their richly caparisoned chargers, their waving plumes, their wild battle-cries, and their marvellous skill with carbine and sword, lent picturesqueness and terror to the charge. Musketry and grapeshot mowed down their front coursers in ghastly swathes; but the living mass swept on, wellnigh overwhelming the fronts of the squares, and then, swerving aside, poured through the deadly funnel between. Decimated here also by the steady fire of the French files, and by the discharges of the rear face, they fell away exhausted, leaving heaps of dead and dying on the fronts of the squares, and in their very midst a score of their choicest cavaliers, whose bravery and horsemanship had carried them to certain death amidst the bayonets. The French now assumed the offensive, and Desaix's division, threatening to cut off the retreat of Murad's horsemen, led that wary chief to draw off his shattered squadrons; others sought, though with terrible losses, to escape across the Nile to Ibrahim's following. That chief had taken no share in the fight, and now made off towards Syria. Such was the battle of the Pyramids, which gained a colony at the cost of some thirty killed and about ten times as many wounded: of the killed about twenty fell victims to the cross fire of the two squares.[104]

After halting for a fortnight at Cairo to recruit his weary troops and to arrange the affairs of his conquest, Bonaparte marched eastwards in pursuit of Ibrahim and drove him into Syria, while Desaix waged an arduous but successful campaign against Murad in Upper Egypt. But the victors were soon to learn the uselessness of merely military triumphs in Egypt. As Bonaparte returned to complete the organization of the new colony, he heard that Nelson had destroyed his fleet.

On July 3rd, before setting out from Alexandria, the French commander gave an order to his admiral, though it must be added that its authenticity is doubtful:

"The admiral will to-morrow acquaint the commander-in-chief by a report whether the squadron can enter the port of Alexandria, or whether, in Aboukir Roads, bringing its broadside to bear, it can defend itself against the enemy's superior force; and in case both these plans should be impracticable, he must sail for Corfu … leaving the light ships and the flotilla at Alexandria."

Brueys speedily discovered that the first plan was beset by grave dangers: the entrance to the harbour of Alexandria, when sounded, proved to be most difficult for large ships—such was his judgment and that of Villeneuve and Casabianca—and the exit could be blocked by a single English battleship. As regards the alternatives of Aboukir or Corfu, Brueys went on to state: "My firm desire is to be useful to you in every possible way: and, as I have already said, every post will suit me well, provided that you placed me there in an active way." By this rather ambiguous phrase it would seem that he scouted the alternative of Corfu as consigning him to a degrading inactivity; while at Aboukir he held that he could be actively useful in protecting the rear of the army. In that bay he therefore anchored his largest ships, trusting that the dangers of the approach would screen him from any sudden attack, but making also special preparations in case he should be compelled to fight at anchor.[105] His decision was probably less sound than that of Bonaparte, who, while marching to Cairo, and again during his sojourn there, ordered him to make for Corfu or Toulon; for the general saw clearly that the French fleet, riding in safety in those well-protected roadsteads, would really dominate the Mediterranean better than in the open expanse of Aboukir. But these orders did not reach the admiral before the blow fell; and it is, after all, somewhat ungenerous to censure Brueys for his decision to remain at Aboukir and risk a fight rather than comply with the dictates of a prudent but inglorious strategy.

The British admiral, after sweeping the eastern Mediterranean, at last found the French fleet in Aboukir Bay, about ten miles from the Rosetta mouth of the Nile. It was anchored under the lee of a shoal which would have prevented any ordinary admiral from attacking, especially at sundown. But Nelson, knowing that the head ship of the French was free to swing at anchor, rightly concluded that there must be room for British ships to sail between Brueys' stationary line and the shallows. The British captains thrust five ships between the French and the shoal, while the others, passing down the enemy's line on the seaward side, crushed it in detail; and, after a night of carnage, the light of August 2nd dawned on a scene of destruction unsurpassed in naval warfare. Two French ships of the line and two frigates alone escaped: one, the gigantic "Orient," had blown up with the spoils of Malta on board: the rest, eleven in number, were captured or burnt.