History of the Republic of Egypt
On 22–26 July 1952, the Free Officers, a group of disaffected officers in the Egyptian army founded by Gamal Abdel Nasser, and headed by General Muhammad Naguib, initiated the Egyptian Revolution of 1952 with the overthrowing King Farouk, whom the military blamed for Egypt's poor performance in the 1948 war with Israel and lack of progress in fighting poverty, disease, and illiteracy in Egypt. In the following two years, the Free Officers consolidated power, and, following a brief experiment with civilian rule, abrogated the 1953 constitution, and declared Egypt a republic on 18 June 1953, Muhammad Naguib as Egypt's first President.
Egyptian Civil Code
Egypt began legal reform in 1875 when it gained independence from the Ottoman Empire in judicial and legal matters, which led to the establishment of the Mixed Courts to deal with foreigners and national courts. This necessitated a need for a set of laws that had secular influence. When Egypt obtained the needed international agreement for the union of its legal system in 1937, it started to draw up a new series of comprehensive codes. Most of this effort was overseen by the Egyptian jurist Abd El-Razzak El-Sanhuri. The code was originally drafted in 1942, but went through several revisions before its passage in 1949.