The United Arab Republic was a country formed in 1957 when Egypt and Syria joined together. Gamal Abdel Nasser was the president. When they separated in 1961, Egypt kept the name of United Arab Republic until 1971 when the official name of the country was changed to Arab Republic of Egypt.