The surprising confession appeared to lend weight to accusations by Imran Khan’s party that the military had tampered with the vote count in dozens of races.
Mr. Sharif, whose family has been dogged by accusations of graft for decades, was selected by Pakistan’s Parliament at a time of deep political divisions and economic tumult.