How two Middle East powerhouses fell out, then made up

Turkish President Recep Tayyip Erdogan (L) and UAE's de facto ruler Sheikh Mohammed bin Zayed.

Abu Dhabi, UAE (CNN)The speed of the shifts in the Middle East's geopolitical scene is enough to give even the most seasoned regional observers whiplash

Longtime foes Iran and Saudi Arabia are talking, the UAE is trying to mend ties with Iran, and Qatar was welcomed back into the Gulf Cooperation Council after an unprecedented rupture in relations. A thaw in Turkish-Egyptian relations is also on the horizon and Turkish-Israeli reconciliation is in the works.
But perhaps the most stunning rapprochement has been between the UAE and Turkey -- few saw that one coming. The two were pitted against each other in almost every regional conflict for the better part of the past decade and found themselves on opposite ends of the ideological spectrum.
    In the latest sign of reconciliation, Turkish President Recep Tayyip Erdogan arrived in Abu Dhabi on Monday to meet with the crown prince of Abu Dhabi and the UAE's de facto ruler Sheikh Mohammed bin Zayed (known as MBZ) and sign new agreements. It was Erdogan's first official visit to the UAE since 2013.
      "The reconciliation I saw [as] least likely... [with] the most problems [and] divergent interests, was that of the UAE and Turkey," Turkish foreign policy expert Yusuf Erim told CNN.
      Turkish President Recep Tayyip Erdogan (L) is welcomed by Emirati officials after arriving at Abu Dhabi's international airport Monday.
      The rift emerged after Turkey publicly supported the Arab Spring protests that unseated some Arab governments and threatened others in 2011. Erdogan was one of the staunchest backers of Muslim Brotherhood-affiliated groups that played a significant role in some of those protests. That was a red line for Arab monarchies, including the UAE, which viewed those movements as an existential threat.
      For Turkey, the turning point with the UAE came in 2016, after Erdogan survived an attempted coup that Turkish officials accused the UAE of backing. The following year, when Qatar's neighbors, including the UAE, boycotted the country for its alleged ties to Islamists, Turkey lent its support, further aggravating Abu Dhabi.
        The regional powers faced off in a dangerous rivalry driven by their expansionist foreign policy that stretched from the Eastern Mediterranean to the Persian Gulf and East Africa. But nowhere did it unfold as perilously as in Libya, where they engaged in a devastating proxy war from 2019.
        Signs of a détente finally began to appear last summer, first with a surprise visit to Ankara by the UAE's national security adviser, then with a call between Erdogan and MBZ.
        The call marked "a new phase ... in which the UAE seeks to build bridges ... to ensure future decades of regional stability" said Anwar Gargash, diplomatic adviser to the UAE president. Local media has referred to the relationship as a "strategic partnership."
        Then, in November, Sheikh Mohammed arrived in Ankara for his first visit in a decade, welcomed with fanfare and a flag-waving cavalry. It had become clear by then that the status quo was unsustainable, especially at a time of perceived American disengagement from the Middle East, which risks leaving many of America's allies with no option but to fend for themselves.
        There was a clear shared desire to recalibrate both their foreign policies in a way that would benefit their respective economies. The two were perfectly positioned to shift to a more conciliatory approach.
        Turkey's inflation soars to two-decade high of almost 49%