On the 14th of October 1802 the amir Abdul Aziz, at the age of eighty-two years, was murdered by a Shiā fanatic when at prayers in the mosque of Deraiya, and Saūd, who had for many years led the Wahhābi armies, became the reigning amir. In 1804 Medina was taken and with its fall all resistance ceased. The Wahhabi empire had now attained its zenith, a settled government was established able to enforce law and order in the desert and in the towns, and a spirit of Arabian nationality had grown up which bade fair to extend the Wahhābi dominion over all the Arab race. It already, however, bore within it the germ of decay; the accumulation of treasure in the capital had led to a corruption of the simple manners of the earlier times; the exhaustion of the tribes through the heavy blood tax had roused discontent among them; the plundering of the holy places, the attacks on the pilgrim caravans under the escort of Turkish soldiers, and finally, in 1810, the desecration of the tomb of Mahomet and the removal of its costly treasures, raised a cry of dismay throughout the Mahommedan world, and made it clear even to the Turkish sultan that unless the Wahhābi power were crushed his claims to the caliphate were at an end.

But Turkey was herself fully occupied by affairs in Europe, and to Mehemet Ali, then pasha of Egypt, was deputed the task of bringing the Wahhābis into subjection. In October 1811 an expedition consisting of 10,000 men under Tusun Pasha, the pasha’s son, a youth of sixteen, landed in Hejaz without opposition. Saūd with his main forces had started northwards to attack Bagdad, but returning at once he met and defeated Tusun with great loss and compelled him to retire. Medina and subsequently Mecca were eventually taken by the Egyptians, but in spite of continual reinforcements they could do little more than hold their own in Hejaz. In 1813 Mehemet Ali was compelled to take the field himself with fresh troops, but was unable to achieve any decisive success, and in 1814 Tusun was again defeated beyond Taif. In May 1814 Saud died, and his son, Ābdallah, attempted to negotiate, but Mehemet Ali refused all overtures, and in January 1815 advanced into Nejd, defeated the Wahhābi army and occupied Ras, then the chief town in Kasim. Terms of peace were made, but on the retirement of the Egyptians Ābdallah refused to carry out the conditions agreed on, which included the return of the jewels plundered by his father, and another campaign had to be fought before his submission was obtained. Ibrahim Pasha replaced Tusun in command, and on reaching Arabia in September 1816 his first aim was to gain over the great Bedouin tribes holding the roads between Hejaz and his objective in Nejd; having thus secured his line of advance he pushed on boldly and defeated Abdallah at Wiya, where he put to death all prisoners taken; thence rapidly advancing, with contingents of the friendly Harb and Muter tribes in support of his regular troops, he laid siege to Ras; this place, however, held out and after a four months’ siege he was compelled to give up the attack. Leaving it on one side he pushed on eastwards, took Aneza after six days’ bombardment and occupied Bureda. Here he waited two months for reinforcements, and with his Bedouin contingent, strengthened by the adhesion of the Āteba and Bani Khālid tribes, advanced on Shakra in Wushm, which fell in January 1818 after a regular siege. After destroying Huremala and massacring its inhabitants, he arrived before Deraiya on the 14th of April 1818. For six months the siege went on with varying fortune, but at last the courage and determination of Ibrahim triumphed, and on the 9th of September, after a heroic resistance, Ābdallah, with a remnant of four hundred men, was compelled to surrender. The Wahhābi leader was soon after sent to Constantinople, where, in spite of Mehemet Ali’s intercession, he and the companions who had followed him in his captivity were condemned to death, and after being paraded through the city with ignominy for three days were finally beheaded.

Deraiya was razed to the ground and the principal towns of Nejd were compelled to admit Egyptian garrisons; but though the Arabs saw themselves powerless to stand before disciplined troops, the Egyptians, on the other hand, had to confess that without useless sacrifices they could not retain their hold on the interior.

In 1824 Turki, son of the unfortunate Ābdallah, headed a rising which resulted in the re-establishment of the Wahhābi state with Riad as its new capital; and during the next ten years he consolidated his power, paying tribute to and under the nominal suzerainty of Egypt till his murder in 1834. His son, Fesal, succeeded him, but in 1836 on his refusal to pay tribute an Egyptian force was sent to depose him and he was taken prisoner and sent to Cairo, while a rival claimant, Khalid, was established as amir in Riad. Mehemet Ali and his son Ibrahim Pasha were, however, now committed to their conflict with Turkey for Syria and Asia Minor, and had no troops to spare for the thankless task of holding the Arabian deserts; the garrisons were gradually withdrawn, and in 1842 Fēsal, who had escaped from his prison at Cairo reappeared and was everywhere recognized as amir. The few remaining Egyptian troops were ejected from Riad, and with them all semblance of Egyptian or Turkish rule disappeared from central Arabia.

For a time it looked as if the supremacy of the Wahhābi empire was to be renewed; El Hasa, Harik, Kasim and Asir returned to their allegiance, but over Oman and Yemen Fēsal never re-established his dominion, and the Bahrein sheiks with British support kept their independence.

A rival state had, however, arisen, under Ābdallah Ibn Rashid in Jebel Shammar. Driven into exile owing to a feud between his family and the Ibn Āli, the leading family of the Shammar, Ābdallah came to Riad in 1830, and was Ibn Rashid. favourably received by the amir Turki. In 1834 he was with Fēsal on an expedition against El Hasa when news came of the amir’s murder by his cousin Mashārah. By Ābdallah’s advice the expedition was abandoned; Fēsal hastened back with all his forces to Riad, and invested the citadel where Masharah had taken refuge, but failed to gain possession of it, until Ābdallah with two companions found his way into the palace, killed Mashārah, and placed Fēsal on the throne of his father. As a reward for his services Ābdallah was appointed governor of Jebel Shammar, and had already established himself in Hail when the Egyptian expedition of 1836 removed Fēsal temporarily from Nejd. During the exile of the latter he steadily consolidated his power, extending his influence more especially over the desert tribes, till on Fēsal’s return in 1842 he had created a state subject only in name to that of which Riad was the capital.

On the death of Ābdallah in 1843, his son Talāl succeeded. He set himself to work to establish law and order throughout the state, to arrange its finances, and to encourage the settlement in Hail of artificers and merchants from abroad; the building of the citadel and palace commenced by Mehemet Ali, and continued by Ābdallah Ibn Rashid, was completed by Talāl. The town walls were strengthened, new wells dug, gardens planted, mosques and schools built. His uncle Obed, to whom equally with Ābdallah is due the foundation of the Ibn Rashid dynasty, laboured to extend the Shammar boundaries. Khaibar, Tema and Jauf became tributary to Hail.

Though tolerant in religion Talāl was careful to avoid the suspicion of lukewarmness towards the Wahhābi formulas. Luxury in clothing and the use of tobacco were prohibited; attendance at the mosque was enforced: any doubt as to his orthodoxy was silenced by the amount and regularity of the tribute sent by him to Riad. Equally guarded was his attitude to the Turkish authorities; it is not improbable that Talal had also entered into relations with the viceroy of Egypt to ensure his position in case of a collision with the Porte. During his twenty years’ reign Jebel Shammar became a model state, where justice and security ruled in a manner before unheard of. Fēsal may well have watched with jealous anxiety the growing strength of his neighbour’s state as compared with his own, where all progress was arrested by the deadening tyranny of religious fanaticism.

On the 11th of March 1868 Talāl, smitten with an incurable malady, fell by his own hand and was succeeded by his brother Matāb; after a brief reign he was murdered by his nephews, the elder of whom, Bandar, became amir. The amir Mahommed. Mahommed, the third son of the amir Ābdallah, was at the time absent; with a view of getting his uncle into his power, Bandar invited him to return to Hail, and on his arrival went out to meet him accompanied by Hamud, son of Obed, and a small following. Warned by a hurried sign by Hamud that his life was in danger, Mahommed at once attacked Bandar, stabbed him and took possession of the citadel; a general massacre of all members of the house of Ibn Rashid followed, and next day Mahommed appeared with his cousin Hamud in the market-place of Hail, and announced his assumption of the amirship. A strong and capable ruler, he soon established his authority over all northern and western Nejd, and in 1872 the opportunity arrived for his intervention in the east. In that year Abdallah, who had succeeded Fēsal in Riad in 1867, was deposed, but with the assistance of Mahommed was reinstated; two years later, however, he was again deposed and forced to seek refuge at Hail, from which place he appealed for assistance to the Turkish authorities at Bagdad. Midhat Pasha, then governor-general, seized the occasion of asserting Turkish dominion on the Persian Gulf coast, and in 1875, in spite of British protests, occupied El Hasa and established a new province under the title of Nejd, with its headquarters at Hofuf, of which Ābdallah was appointed governor. This was an event of some importance, as it constituted the first Turkish claim to the sovereignty over Nejd abandoned by Egypt thirty-three years earlier. The Turks did not support their client by advancing into Nejd itself, and he and his rivals were left to fight out their battles among themselves. Turkey was indeed too much occupied by the war with Russia to pay much attention to Arab affairs, though a few years later she attempted to occupy Bahrein by a coup de main, which was only frustrated by the action of a British gunboat.

Owing to the dissensions among the ruling family of Riad, the towns of eastern Nejd gradually reverted to their former condition of independence, but menaced in turn by the growing power of Hail, they formed a coalition under the leadership of Zāmil, sheik of Aneza, and in the spring of 1891, Aneza, Bureda, Shakra, Ras and Riad assembled their contingents to contest with Ibn Rashid the supremacy in Nejd. The latter had besides 20,000 of his own south Shammar tribesmen, the whole strength of the Harb Bedouins, some 10,000 men, and an additional support of 1000 mounted men from his kinsmen, the northern Shammar from the Euphrates, while the Muter and Āteba tribes took part with the allies. The total strength of each side amounted to about 30,000 men. Zāmil’s forces held a strong position between Aneza and Bureda, and for over a month desultory fighting went on; finally an attack was made against the defenders’ centre, covered by 20,000 camel riders; the men of Aneza broke and the whole allied forces fled in disorder; Zamil and his eldest son were killed, as were also two of the Ibn Saud family, while the remainder were taken prisoners. Aneza and Bureda surrendered the same day, and shortly after Ras, Shakra and Riad tendered their submission.