ISLAMABAD - Shahid Khaqan Abbasi was elected Tuesday as the new prime minister of Pakistan, succeeding Nawaz Sharif whom the Supreme Court ruled last week was unfit to hold public office.