Answer:
In 1517, Ottoman sultan Selim I captured Cairo, absorbing Egypt into the Ottoman Empire. Egypt remained entirely Ottoman until 1867, except during French occupation from 1798 to 1801. Starting in 1867, Egypt became a nominally autonomous tributary state called the Khedivate of Egypt.