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.
United Arab Republic
The union began in 1958 and existed until 1961, when Syria seceded from the union after the 1961 Syrian coup d'état. Egypt continued to be known officially as the "United Arab Republic" until 1971. The president was Gamal Abdel Nasser. The UAR was a member of the United Arab States, a loose confederation with the Mutawakkilite Kingdom of Yemen, which was dissolved in 1961.