In 1838 (1254 AH), Egyptian forces defeated Faisal bin Turki
, retaking the Nejd. Faisal was taken captive and sent to Cairo. Later, when Muhammad Ali declared Egypt's independence from the Ottoman Empire and was forced to withdraw his troops stationed in Nejd in order to support his own position in Egypt, Faisal bin Turki
escaped from Cairo (after five years of captivity) returning home and resuming his reign which lasted till 1865 (1282 AH). By then, the House of Saud once more controlled most of Nejd and Hasa.