Pakistan's Supreme Court on Thursday ordered the release of former Prime Minister Imran Khan after terming his arrest unlawful.
The country's top court also directed Khan to appear before the Islamabad High Court (IHC) tomorrow, adding that he will have to abide by whatever decision the IHC gives.
Khan, who heads the Pakistan Tehreek-e-Insaf (PTI) party would spend the night in the same police guest house as before but allowed to meet a limited number of friends and family.
It was not immediately clear when he would be allowed to go home.
The latest orders were issued by a three-judge bench, headed by Chief Justice Umar Ata Bandial.
"The Supreme Court reversed all legal proceedings against Imran Khan ... he has been asked to present himself in the Islamabad High Court on Friday morning," lawyer Babar Awan told reporters.
Awan added that the court had ruled that Khan was now under its custody and not the anti-graft agency.
Imran Khan's detention on graft allegations has ignited deadly protests and a tussle with the country's powerful military.
Qatar's prime minister said on Sunday that efforts to reach a new ceasefire in Gaza have made some progress but an agreement between Israel and Hamas to end the war remains elusive.
A huge blast most likely caused by the explosion of chemical materials killed at least 18 people and injured more than 700 on Saturday at Iran's biggest port, Bandar Abbas, Iranian state media reported.
The UN Refugee Agency (UNHCR) and the UN Office for the Coordination of Humanitarian Affairs (OCHA) have sounded the alarm over severe funding shortfalls that are hindering life-saving humanitarian aid in countries including Nigeria, Burundi, and Colombia.
A number of people were killed and multiple others were injured in Vancouver after a vehicle drove into a crowd at a Filipino street festival in the western Canadian city, police said on Saturday.