In response to the protests, Ben Ali declared a state of emergency, dissolved the government on 14 January 2011, and promised new legislative elections within six months. However, events moved quickly, and it appears the armed forces and key members of the legislature had lost confidence in Ben Ali and had decided to take steps of their own. With power slipping from his grasp, Ben Ali resigned the presidency at about 16:00 and delegated prime minister Mohamed Ghannouchi to act as head of state during his "temporary" absence. With the army surrounding the Presidential Palace in Tunis, Ben Ali and close members of his family hastily left and headed to Laouina airport (annexed to the civil airport of Tunis Carthage). The military allowed Ben Ali's plane to take off, immediately after which the Tunisian airspace was closed. The presidential plane headed first to France. But after the plane was denied landing rights on French territory, it directly flew to Jeddah, Saudi Arabia. Ben Ali and his family were accepted by King Abdullah to live there under the condition that he should keep out of politics. Ben Ali and his family went to exile in Jeddah, the same city where Idi Amin, the late dictator of Uganda, lived in exile until his death in 2003, after being removed from power in 1979, at the end of the Uganda–Tanzania War.