The first civil war came during the Arab Spring movements which overturned the rulers of Tunisia and Egypt, Libya experienced a full-scale revolt beginning on 17 February 2011. Libya's authoritarian regime led by Muammar Gaddafi put up much more of a resistance compared to the regimes in Egypt and Tunisia. While overthrowing the regimes in Egypt and Tunisia was a relatively quick process, Gaddafi's campaign posed significant stalls on the uprisings in Libya. The first announcement of a competing political authority appeared online and declared the Interim Transitional National Council as an alternative government. One of Gaddafi's senior advisors responded by posting a tweet, wherein he resigned, defected, and advised Gaddafi to flee. By 20 February, the unrest had spread to Tripoli. On 27 February 2011, the National Transitional Council was established to administer the areas of Libya under rebel control. On 10 March 2011, America and many other nations recognised the council headed by Mahmoud Jibril as acting prime minister and as the legitimate representative of the Libyan people and withdrawing the recognition of Gaddafi's regime.