Pakistan Prime Minister Shehbaz Sharif has announced that he will be handing over power to the caretaker government.