Lawmakers in Pakistan's National Assembly elected Sunday Shehbaz Sharif as the country's new prime minister for the second time as allies of imprisoned former premier Imran Khan in parliament shouted in protest against his appointment, alleging rigging in last month's election.