From 18 April 2019 to 11 December 2020 he served as an advisor to the Prime Minister of Pakistan for Finance after the cabinet reshuffle by Prime Minister Imran Khan.[1] Since 11 December 2020, he had served as the federal minister of finance and revenue affairs. He was removed as Minister of Finance on 29 March 2021, in lieu of heavy public pressure on Imran Khan because of rising inflation. He was replaced by Hammad Azhar.[2]