Crowds of protesters erupted with cheers outside South Korea's parliament early on Wednesday after the country's president dramatically withdrew a martial law order that had sparked chaotic scenes in Seoul.
In an unexpected late-night TV address President Yoon Suk Yeol had announced he was imposing military rule, saying it was needed to protect the country from "North Korea's communist forces" and to "eliminate anti-state elements".
The order created turmoil, drawing thousands of protesters to the gates outside the National Assembly.
Lawmakers - some scaling the parliament's perimeter walls - evaded police lines to gather and vote down the order, but the army said it would remain until revoked by the president himself.
Then in a sudden reversal in the early hours, Yoon Suk Yeol said martial law would be lifted and troops withdrawn.