ISLAMABAD: Pakistan Muslim League-Nawaz leader Mian Nawaz Sharif has been elected as the prime minister for the third time after securing 244 votes Wednesday, Geo News reported.