View key events that sparked South Korea's rapid presidential election

Seoul, South Korea - South Korea - After months of political unrest, South Koreans will conduct a poll next week to replace former leader Yoon Suk Yeol, who was ousted for his poor fate in December for his decision to impose martial law.

Here is a timeline for events that led to Tuesday's intense elections:

According to their criminal prosecution, Yoon met with his defense minister to discuss the deadlock in the National Assembly as Liberal Opposition MPs rank with a majority of senior Impotence officials and prosecutors and cut government budgets. Prosecutors said Yin told the minister that he wanted to take "emergency measures" against the opposition, who they claimed he had said for months.

In a television announcement at 10:29 p.m., Yin told the country that he declared martial law, portraying the National Assembly as "the den of criminals" that paralyzed government affairs. As lawmakers began to rush to the National Assembly, the military's martial law command issued a declaration announcing the sweeping of government power, including cessation of party activities and control of the media. It said anyone who violates the ordinance can be arrested without a warrant. Hundreds of heavy troops surrounded the Legislature, apparently in order to prevent lawmakers from gathering to vote on the Martial Law Declaration.

At about 1 a.m., 190 lawmakers, including 18 lawmakers from Yoon's own conservative People's Power Party, voted unanimously to pass the quit martial law order. The troops and police soon began to retreat from the National Assembly. At 4:30 a.m., the martial law was officially lifted after the cabinet meeting.

Yoon apologized and said he would not overturn legal or political responsibility for the declaration of martial law. He survived the impeachment vote that most ruling party members boycotted.

Yoon defended his martial law as an act of governance and denied the allegations of rebellion, vowing to face the "struggle" of impeachment.

The National Assembly voted 204-85. His presidential power and duties were suspended and Han Duck-Soo, the country's second official, took over.

Seoul's Western District Court issued a warrant for detention.

Anti-corruption investigators and police raided the presidential compound and detained Yun, the first incumbent president to be detained.

The Seoul Western District Court granted law enforcement authorities a request for a formal warrant for Yoon, citing that he could undermine evidence. His arrest triggered a riot among his supporters who broke into the court and smashed windows and equipment. Dozens of arrests.

The Seoul Central District Attorney’s Office charged Yoon with planning an attempted rebellion, saying his power grab was an illegal bid to seize the legislature and election office and arrest political opponents.

Seoul Central District Court ordered Yoon to be detained and released on the grounds of whether investigators have the authority to properly detain him. He was released the next day.

The Constitutional Court insisted on the impeachment of the Yuan and removed it from office, forcing a quick election within 60 days to choose his successor. Next week, the government declares June 3 as Election Day.

The government announced that the presidential election will be held on June 3.

The main opposition of the liberal opposition Democratic Party nominated former party leader Lee Jae-Myung as president. In the weeks leading up to the election, the polls heralded him as a clear leader.

The conservative BJP nominated Yoon’s former Labor Minister Kim Moon Soo as presidential candidate.

The People's Power Party disqualified Kim Jong Il's presidential candidacy within a few hours, highlighting its chaos after trying to replace him with former Prime Minister Han.

Lee, King and two other minor candidates participated in the first presidential debate, which focused on restoring political stability following martial law and responding to trade challenges posed by U.S. President Donald Trump’s policies.

A two-day early voting began at about 3,570 polling stations before the official June 3 vote.