In 1516 the Mamluks were defeated by the Ottoman Turks. The first three centuries of Ottoman rule isolated Palestine from outside influence. In 1831, Muhammad Ali, the Egyptian viceroy nominally subject to the Ottoman sultan, occupied Palestine. Under him and his son the region was opened to European influence. Ottoman control was reasserted in 1840, but Western influence continued. Among the many European settlements established, the most significant in the long run were those of Jews, Russian Jews being the first to come (1882).