On the 25th Gordon was slightly ill, and, it being Sunday, he did not appear in public. Through mental strain and trouble his hair had grown completely white. Although he appeared to realize that the end could not be much longer postponed, he was repeatedly heard to say that, if he had only a couple of English soldiers to parade on the ramparts, he should not fear the enemy's attack.

In the morning he observed a great movement in the hostile lines, and called many of his officers, and the leading men of the town, to the Palace. After telling them that he thought the attack was impending, he appealed to them to make a last effort, as he believed that the British troops would arrive in twenty-four hours. He called upon every male inhabitant—even the old men—to assist in manning the fortifications. It was a gloomy Sunday in Khartoum, and as the day went by without any signs of the relieving force, despair settled down over all. When night came many of the famished soldiers left their posts on the ramparts and wandered into the town in search of food. Others were too weak, from want of nourishment, to go to their stations. Although this was not an unusual occurrence of late, the number of defaulters that night was so great as to cause the most serious alarm in the town, and many of the principal inhabitants armed themselves and their servants and went to the fortifications in place of the soldiers.

Gordon, who had established a complete system of telegraphic communication with all the posts along the lines, sat up alone writing in the Palace till after midnight, and then, worn out with anxiety and fatigue, fell asleep.

In the early part of the night, which, after the moon had set, was dark and cloudy, the Mahdi crossed over from Omdurman with a huge mass of his followers and joined the armies of Wad en Nejumi and Abu Girgeh, drawn up on the south and east faces of the fortifications. After addressing the combined forces and giving his final orders, the Mahdi then returned to Omdurman, leaving Wad en Nejumi to conduct the attack.

At about 2 a.m. on the 26th, the entire force, under Wad en Nejumi, numbering from 40,000 to 50,000 men, began its advance. It moved in two divisions. The foremost was told off to attack the lines to the westward at the point between the Messalamieh Gate and the White Nile, where the defences had been partially destroyed by the river. The other division was to attack towards Buri, at the opposite, or eastern, extremity of the lines, or in the event of the attack on the White Nile side proving successful, to follow in the track of the foremost division and thus enter Khartoum. The instructions were to march as silently as possible, and not to fire until fired upon by the defenders.

Carrying "angaribs," or couches of palm boughs, and bundles of brushwood, to throw into the trenches, under cover of the darkness the Dervishes marched noiselessly close up to the lines till the ditch was reached. This they found partly filled with mud and the parapet broken away. A few of the Dervishes fired in reply to the fire from the lines; the remainder, charging with spears, dashed into the trench and up the opposite side, shouted their war cries, and, meeting but little resistance, effected an entrance into the works.

The defenders only perceived the advance a few minutes before the actual attack, when the alarm sounded. The greater part of the troops were so tired and worn out that it was not till the sentries fired that the rest of the garrison started up, to find the enemy swarming across the ditch and up the broken parapet. When once the Dervishes were upon them, Gordon's soldiers made but little fight. Too feeble to withstand the rush, some were killed, and still more broke and fled. In a few minutes all resistance at this part of the position was over, and whilst a stream of Dervishes from behind, pouring in through the place where the entry had been effected, pushed on and entered Khartoum, those in front rushed along inside the parapets and attacked the defenders in the rear. These last, stationed at distances of from three to four paces apart, and hopelessly outnumbered, could do but little. They fired a few shots and were then either killed or dispersed—leaving the enemy in undisputed possession of the fortifications. Over 150 soldiers' bodies were afterwards counted on the parapets alone.

The Commandant, Farag Pasha, was at Buri, at the further end of the fortifications, when the assault was made, and at once rode down the lines, encouraging his men. When he reached the Messalamieh Gate, the Dervish horde had already crossed the ditch and were rolling up the line of the defenders on the parapets. Farag, seeing that resistance was useless, opened the Messalamieh Gate and surrendered himself prisoner. A great many of his followers also rushed out through the gate and threw down their arms. Charges of treachery have been brought against Farag for his conduct on this occasion, but, seeing that the enemy were well within the position when the gate was opened, this act could not have affected the issue one way or another. Farag's having been put to death in the enemy's camp three days later also tends to rebut the accusation of having betrayed his trust.

Mohamed Bey Ibrahim, who commanded at the same gate, formed his men, consisting of two companies, into a square, and, taking up a position on the plain between the lines and the town, fought courageously till he and nearly all his men were killed.

Bakhit Betraki was in charge at Buri, and held his ground till, seeing that the enemy had carried the works at the other end, and were inside the lines, he abandoned the fortifications. Then, rallying his men, he fought as long as any of them were left alive.