A South Korean court cancelled impeached President Yoon Suk Yeol's arrest warrant, paving the way for his release from jail after he was arrested in mid-January on insurrection charges over his brief imposition of martial law.
Yonhap News Agency reported the update on Friday.
A Seoul Central District Court spokesperson could not immediately be reached for comment.
"South Korea's rule of law is still alive," Yoon's legal counsel said, according to broadcaster YTN.
Yoon is expected to be released immediately and take part in his trial while out of detention, local media said.
Yoon's lawyers had argued the warrant issued on January 19 that has kept him in detention was invalid because the request filed by prosecutors was procedurally flawed.
He declared martial law on December 3 saying it was needed to root out "anti-state" elements but lifted the decree six hours later after parliament voted to reject it. He has said he never intended to fully impose emergency military rule.
Weeks later he was impeached by the opposition-led parliament on accusations he had violated his constitutional duty by declaring martial law.
Yoon faces a separate criminal trial and became the first sitting president to be arrested on criminal charges on January 15.

7 Indonesian airports remain shut due to volcanic ash from Anak Krakatau
Nepal marks national mourning day after deadly flood
Far-right AfD wins historic victory in German state election
At least 5 killed in Amazon Prime Air cargo plane crash in Miami
Israeli strike kills 2 in Gaza, medics say
Bangladesh dengue outbreak accelerates as hospitals come under strain
US peace envoys meet Zelenskyy in Kyiv after Putin talks
US targets three Iranian oil vessels after attack on Navy ships
