At the beginning of the month of Safar in the year 1232 AH / 1816 CE, the teacher Ghali attended from the tribal side, with correspondence from Mahammad Bey, who took over the command of Upper Egypt instead of Ibrahim Pasha, who went to the Hejaz to fight Wahhabism in which he mentions the advice of the teacher Ghali and his endeavor to open the doors of collecting money to the treasury, and that he invented something and accounts from which many amounts of money were obtained, and he was met with satisfaction and honor, and he took the pasha and assigned him and made him a clerk of his secret (secret keeper), and he was required to serve him, and he took what he was assigned to and attended for him, which includes the accounts of all the notebooks and pens of innovators and their directors and regional rulers.
[2] Mahammad Ali Pasha entrusted his son-in-law, Mahammad Bey al-defterdar, the conquest of Kordofan, and that region belonged to the Sultan of Darfur, so while Isma'il Kamil Pasha was crawling on Sennar, the army of al-Defterdar marched to its destination on the road to Dongola and Abu Qas, and the journey to Kordofan was deadly arduous for the soldiers because they walked seven consecutive days cutting the distance in a desert that has no water and no planting.
The defterdar met the army of the deputy of Sultan Muhammad al-Fadl, the Sultan of Darfur, and the two teams clashed in a bloody incident in the town of Barah, north of El-Obeid (April 1821), which ended with the victory of the al-Defertdar army and the occupation of El-Obeid, the capital of Kordofan.
As for Isma'il Pasha, he pardoned him in return for a heavy financial fine that he would pay in five days and a thousand of slaves, and Mek Nimr showed submission and accepted the fine, then he invited Ismail Pasha and his entourage to a feast in his palace in Shendi, and his palace was made from straw.
The paths were blocked in their faces until they died to the last of them, and the soldiers were unable to help them as they were in their camp far from the place of the tragedy, and when the disaster occurred, King Nimr’s men attacked them and killed them, and none of them survived except those who escaped with their lives.
Mahammad Bey al-Daftardar was in Kordofan at the time of this disaster, and when news of it came to him, he immediately marched on Shendi to take revenge and torture those who participated in the incident.
He completed the conquest of Sudan at the head of three thousand soldiers, and while he was carrying out the disciplinary campaign there, he was drawing a map of the areas through which he passed.