 However, Jammeh refused to recognise the result of the election and refused to leave office, instead proclaiming a state of emergency.Barrow abandoned the country and fled to Senegal, where he was sworn in as new president at the Gambian embassy in Dakar on 19 January 2017.On the same day ECOWAS launched a military intervention in Gambia in order to forcefully remove Jammeh from power (Operation Restore Democracy); the move was authorized by United Nations Security Council with UNSC Resolution 2337.