An anti-corruption court in Pakistan on Monday sentenced ousted prime minister Nawaz Sharif to seven years in jail in the Al-Azizia Steel Mills graft case while acquitting him in the Flagship Investments corruption case in the high-profile Panama Papers scandal.