A high court in Pakistan overturned jailed former Prime Minister Imran Khan's conviction on charges of leaking state secrets, his lawyer and his party said on Monday, but he will remain in prison for now due to a conviction in another case.

Khan, 71, had been sentenced to 10 years in prison by a lower court on charges of making public a classified cable sent to Islamabad by Pakistan's ambassador in Washington in 2022. He has been in jail since August last year.

He had challenged the conviction in the Islamabad High Court, which said in an order on Monday that an "instant appeal is allowed" and acquitted him of the charges.