Following the destruction of the French armada by a British fleet led by Horatio Nelson, however, Dumas was unable to get out of Egypt until March 1799. In August 1798, Dumas discovered a large cache of gold and jewels beneath a house in French-occupied Cairo, which he turned over to Napoleon. In October, he was important in putting down an anti-French revolt in Cairo by charging into the Al-Azhar Mosque on horseback. Afterward (according to his son, drawn largely from the memories of Dumas's aide-de-camp Dermoncourt), Napoleon told him: "I shall have a painting made of the taking of the Grand Mosque. Dumas, you have already posed as the central figure." The Girodet painting, however, which Napoleon commissioned eleven years later, shows a white man charging into the mosque.