South Korea's presidential candidate Moon Jae-in of the Democratic Party raises his hands as his party leaders and members watch on television local media's results of exit polls for the presidential election in Seoul, South Korea, Tuesday, May 9, 2017. Exit polls forecast that liberal candidate Moon will win the election Tuesday to succeed ousted President Park Geun-hye. Official results weren't expected for hours, but the exit poll of about 89,000 voters at 330 polling stations, jointly commissioned by three major television stations and released just after polls closed, showed Moon receiving 41.4 percent of the vote. (AP Photo/Ahn Young-joon)
SEOUL, South Korea (AP) — Hours after celebrating his election win with thousands of supporters in wet Seoul streets, newly elected South Korean President Moon Jae-in on Wednesday will be thrown into the job of navigating a nation deeply split over its future and faced with growing threats from North Korea and an uneasy alliance with the United States.
Moon, whose victory capped one of the most turbulent political stretches in the nation's recent history and set up its first liberal rule in a decade, will begin his presidential duties after the National Election Commission officially declares him as winner in a meeting scheduled on Wednesday morning. The election body had finished voting as of 6 a.m., with Moon gathering 41 percent of the votes, comfortably edging conservative Hong Joon-pyo and centrist Ahn Cheol-soo, who gathered 24 percent and 21 percent of the votes, respectively.
Moon's first schedule as president was expected to be a morning visit to the National Cemetery in the central city of Daejeon, where the country's independence fighters and war heroes are buried. He will then return to capital Seoul for an inauguration ceremony at the National Assembly.
South Korea might see a sharp departure from recent policy under Moon, who favors closer ties with North Korea, saying hard-line conservative governments did nothing to prevent the North's development of nuclear-armed missiles and only reduced South Korea's voice in international efforts to counter North Korea.
This softer approach might put him at odds with South Korea's biggest ally, the United States. The Trump administration has swung between threats and praise for North Korea's leader.
Moon, the child of refugees who fled North Korea during the Korean War, will lead a nation shaken by a scandal that felled his conservative predecessor, Park Geun-hye, who sits in a jail cell awaiting a corruption trial later this month.
Moon smiled and waved his hands above his head as supporters chanted his name at Gwanghwamun square in central Seoul, where millions of Koreans had gathered for months starting late last year in peaceful protests that eventually toppled Park.
"It's a great victory by a great people," Moon told the crowd. "I'll gather all of my energy to build a new nation."
Over the last six months, millions gathered in protest after corruption allegations surfaced against Park, who was then impeached by parliament, formally removed from office by a court and arrested and indicted by prosecutors.
Moon will be officially sworn in as South Korea's new president after the election commission finishes the vote count and declares the winner Wednesday morning. This forgoes the usual two-month transition because Tuesday's vote was a by-election to choose a successor to Park, whose term was to end in February 2018.
Moon will still serve out the typical single five-year term.
Moon was chief of staff for the last liberal president, the late Roh Moo-hyun, who sought closer ties with North Korea by setting up large-scale aid shipments to the North and by working on now-stalled joint economic projects.
Hong, the conservative, is an outspoken former provincial governor who pitched himself as a "strongman," described the election as a war between ideologies and questioned Moon's patriotism.
Park's trial later this month on bribery, extortion and other corruption charges could send her to jail for life if she is convicted. Dozens of high-profile figures, including Park's longtime confidante, Choi Soon-sil, and Samsung's de facto leader, Lee Jae-yong, have been indicted along with Park.
Moon frequently appeared at anti-Park rallies and the corruption scandal boosted his push to re-establish liberal rule. He called for reforms to reduce social inequalities, excessive presidential power and corrupt ties between politicians and business leaders. Many of those legacies dated to the dictatorship of Park's father, Park Chung-hee, whose 18-year rule was marked by both rapid economic rise and severe civil rights abuse.
As a former pro-democracy student activist, Moon was jailed for months in the 1970s while protesting against the senior Park.
Many analysts say Moon likely won't pursue drastic rapprochement policies because North Korea's nuclear program has progressed significantly since he was in the Roh government a decade ago.
A big challenge will be U.S. President Donald Trump, who has proven himself unconventional in his approach to North Korea, swinging between intense pressure and threats and offers to talk.
"South Koreans are more concerned that Trump, rather than North Korean leader Kim Jong Un, will make a rash military move, because of his outrageous tweets, threats of force and unpredictability," Duyeon Kim, a visiting fellow at the Korean Peninsula Future Forum in Seoul, wrote recently in Foreign Affairs magazine.
"It is crucial that Trump and the next South Korean president strike up instant, positive chemistry in their first meeting to help work through any bilateral differences and together deal with the North Korean challenge," she said.
Associated Press writer Kim Tong-hyung contributed to this report.Associated Press