From 2014 until 2019 he served as the second deputy of the chief executive Abdullah Abdullah, at the end of January 2019 he was dismissed by the president Ashraf Ghani under the Article 13 Item 64 of the National constitute of Afghanistan. But later he refused his dismissal and continued attending Official meetings with Dr. Abdullah Abdullah. During the 2019 presidential election, he was the second deputy of Hanif Atmar under the ticket Truth and Justice (Afghanistan) and then left the ticket and joined Abdullah Abdullah.