Egypt was officially known as the United Arab Republic (UAR) from 1958 to 1971 when it was in a political union with Syria. After 1971, it reverted to being called Egypt. The United Arab Emirates (UAE) is a completely different country formed in 1971.