The United Arab Republic (Arabic: الجمهورية العربية المتحدة Al-Gumhuriyah Al-Arabiyah Al-Muttahidah, Al-Jumhuriyah Al-Arabiyah Al-Muttahidah), often abbreviated UAR, was a sovereign union between Egypt and Syria. The union began in 1958 and existed until 1961, when Syria seceded from the union. Egypt continued to be known officially as the "United Arab Republic" until 1971. The President was Gamal Abdel Nasser. During most of its existence (1958–1961), it was a member of the United Arab States, a confederation with North Yemen.
The UAR adopted a flag based on the Arab Liberation Flag of the Egyptian Revolution of 1952, but with two stars to represent the two parts. This continues to be the flag of Syria. In 1963, Iraq adopted a flag that was similar but with three stars, representing the hope that Iraq would join the UAR. The current flags of Egypt, Sudan, and Yemen are also based on the Arab Liberation Flag of horizontal red, white, and black bands.