name of the country, and on 7 June of the same year, the new name Republic of Macedonia was officially established. Hence Gligorov continued his function as President of the Republic of Macedonia. After the process of dissolution of Yugoslavia began, the Republic of Macedonia proclaimed full independence following a referendum held on 8 September 1991. Kiro Gligorov was incapacitated after an assassination attempt in 1995. Stojan Andov served as acting president for 44 days during Gligorov's incapacitation. On completing his second term as head of the independent state, Gligorov was succeeded by Boris Trajkovski in 1999. Following Trajkovski's death in 2004, he was succeeded by Branko Crvenkovski. Gjorge Ivanov won the 2009 presidential election and took office on 12 May 2009. He was re-elected in 2014. Stevo Pendarovski is the current incumbent and he took the office on 12 May 2019. The position initially had some considerable powers, as Macedonia functioned within the framework of a de-facto semi-presidential republic. The president had control over the military and was the primary actor when it came to setting the foreign policy agenda. As such, both Gligorov and Trajkovski were the primary representatives of the fledgling republic abroad. The 2001 Ohrid Agreement, brokered by President Trajkovski in an effort to reduce interethnic tensions in the country, led to the adoption of constitutional amendments on November 16, 2001, which, in addition to granting representational rights to the Albanian-speaking minority, also stripped the president of any executive authority he previously had. President Trajkovski respected this arrangement for the remainder of his term, with authority over foreign policy passing first to Prime Minister Ljupco Georgievski and then to Prime Minister Branko Crvenkovski. After Trajkovski's tragic death in 2004, Crvenkovski was elected as the next president, and it was widely expected that he would remain in de-facto control of the government. Owing to his clout in the Social Democratic Union, Crvenkovski maintained some level of control over foreign affairs during the premiership of Hari Kostov, but with the election of Vlado Buckovski, the new leader of the Social Democratic Union, as prime minister, Crvenkovski largely refrained from interfering with the government and limited his activities to ceremonial matters. While Crvenkovski was opposed to Nikola Gruevski after the latter's election as prime minister, there was little that he could have done, as by that time the presidency had very little authority. In 2009, Crvenkovski was replaced as