Then, following repeated foreign invasions, Egypt fell into the hands of the Greco-Romans, the Arabs, and finally the Ottomans, who held their sway till 1805 A.D. It then went into the hands of the Muhammad Ali Pasha Dynasty (1805 A.D. - 1953 A.D.), which fell with the Revolution of 1952, and the Republic of Egypt was subsequently formed.