Mr Sharif, 67, had to step down as the chief of the Pakistan Muslim League-Nawaz (PML-N) after he was disqualified as the prime minister by the Supreme Court on July 28 in the Panama Papers scandal.
Under The Representation of Peoples Act 1976, a disqualified person could not hold office of a party. However, the legal hurdle in his way to become party chief was cleared yesterday when the National Assembly passed a controversial Election Bill 2017 that allows politicians disqualified from holding public office to head a political party.
President Mamnoon Hussain signed the controversial Election Act 2017 into law hours after it was bulldozed through the parliament amid pandemonium on the opposition benches.
PML-N leader Dr Tariq Fazal Chaudhry submitted Mr Sharif's papers for party president in the Election Commission of Pakistan (ECP) while no one other candidate from the party contested the election.
Minister of State Talal Chaudhry told media that Mr Sharif will remain chief of PML-N. "He will also become Prime Minister of the country. Mr Sharif cannot be removed from politics through conspiracies," he said.
Mr Sharif's election has temporarily healed the rifts within the party which appeared on the verge of defections after his ouster.
But Mr Sharif's fate as party president still hangs in balance as Pakistan Awami Tehreek party has challenged the new law in the Lahore High Court, while Pakistan Tehreek-e-Insaf and other parties have announced to challenge it in the Supreme Court.
Opposition parties allege that the new law was "Sharif-specific" to allow him to return to politics. They also content that the law is against the spirit of the Constitution.
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.