180530-F-ID393-0082 JOINT BASE PEARL HARBOR-HICKAM (May 30, 2018) Adm. Phil Davidson relives retiring Adm. Harry Harris as commander of U.S. Pacific Command during a Change of Command ceremony at Joint Base Pearl Harbor-Hickam, Hawaii. USPACOM is committed to enhancing stability in the Indo-Pacific region by promoting security cooperation, encouraging peaceful development, responding to contingencies, deterring aggression, and, when necessary, fighting to win. (U.S. Air Force Photo by Airman 1st Class
PHOTO: Nathan H. Barbour/US Air Force
180530-F-ID393-0082 JOINT BASE PEARL HARBOR-HICKAM (May 30, 2018) Adm. Phil Davidson relives retiring Adm. Harry Harris as commander of U.S. Pacific Command during a Change of Command ceremony at Joint Base Pearl Harbor-Hickam, Hawaii. USPACOM is committed to enhancing stability in the Indo-Pacific region by promoting security cooperation, encouraging peaceful development, responding to contingencies, deterring aggression, and, when necessary, fighting to win. (U.S. Air Force Photo by Airman 1st Class
Now playing
01:27
US admiral: China is our biggest challenge
LONDON, ENGLAND - SEPTEMBER 08:  A military honour guard raises the flag of China during a table tennis medal ceremony on day 10 of the London 2012 Paralympic Games at ExCel on September 8, 2012 in London, England.  (Photo by Matthew Lloyd/Getty Images)
PHOTO: Matthew Lloyd/Getty Images Europe/Getty Images
LONDON, ENGLAND - SEPTEMBER 08: A military honour guard raises the flag of China during a table tennis medal ceremony on day 10 of the London 2012 Paralympic Games at ExCel on September 8, 2012 in London, England. (Photo by Matthew Lloyd/Getty Images)
Now playing
02:20
How big is China's military?
china airshow j 20 stealth fighter jnd orig _00003118.jpg
PHOTO: CCTV
china airshow j 20 stealth fighter jnd orig _00003118.jpg
Now playing
00:48
China shows off new J-20 stealth fighter (2016)
china military plane Y-20 orig_00003507.jpg
china military plane Y-20 orig_00003507.jpg
Now playing
00:45
China unveils huge military plane
Now playing
01:47
US destroyer sails near China-claimed island
PHOTO: Drew Angerer/JOHANNES EISELE/AFP/Getty Images
Now playing
01:26
Trump and China: What's at stake?
china military strength sciutto dnt tsr _00003509.jpg
china military strength sciutto dnt tsr _00003509.jpg
Now playing
02:05
China's new 'carrier killer' missile
trump trade war.jpg
PHOTO: Getty Images
trump trade war.jpg
Now playing
02:21
Donald Trump's trade war
President-elect Donald Trump looks toward reporters as he arrives for a party at the home of Robert Mercer, one of his biggest campaign donors, Saturday, December 3, 2016, in Head of the Harbor, New York.
PHOTO: Evan Vucci/AP
President-elect Donald Trump looks toward reporters as he arrives for a party at the home of Robert Mercer, one of his biggest campaign donors, Saturday, December 3, 2016, in Head of the Harbor, New York.
Now playing
01:40
Donald Trump faces backlash from China
china trump call steven jiang intv_00025723.jpg
china trump call steven jiang intv_00025723.jpg
Now playing
03:30
Trump risks antagonizing China by Taiwan call
US President Barack Obama disembarks from Air Force One upon arrival at Hangzhou Xioshan International Airport in Hangzhou on September 3, 2016.
World leaders are gathering in Hangzhou for the 11th G20 Leaders Summit from September 4 to 5. / AFP / SAUL LOEB        (Photo credit should read SAUL LOEB/AFP/Getty Images)
PHOTO: SAUL LOEB/AFP/AFP/Getty Images
US President Barack Obama disembarks from Air Force One upon arrival at Hangzhou Xioshan International Airport in Hangzhou on September 3, 2016. World leaders are gathering in Hangzhou for the 11th G20 Leaders Summit from September 4 to 5. / AFP / SAUL LOEB (Photo credit should read SAUL LOEB/AFP/Getty Images)
Now playing
01:20
G20 sees tension between China and the US press
(CNN) —  

The US admiral expected to become the country’s next ambassador to South Korea says North Korea remains the most imminent threat to peace in the Pacific but China’s “dream of hegemony” is Washington’s biggest long-term challenge.

Adm. Harry Harris spoke Wednesday as he turned over the reins of the US Pacific Command to Adm. Phil Davidson at Pearl Harbor, Hawaii, in a ceremony that also announced the rebranding of US military assets in the region to the US Indo-Pacific Command.

Harris, who has been at the helm of the most expansive US military command for three years, hammered home points he’s made repeatedly during his term.

Adm. Phil Davidson, left, relieves Adm. Harry Harris, right, as commander of US Indo-Pacific Command during a ceremony at Pearl Harbor, Hawaii, on Wednesday.
PHOTO: Petty Officer 2nd Class James Mulen/U.S. Pacific Command
Adm. Phil Davidson, left, relieves Adm. Harry Harris, right, as commander of US Indo-Pacific Command during a ceremony at Pearl Harbor, Hawaii, on Wednesday.

“North Korea remains our most imminent threat and a nuclear-capable North Korea with missiles that can reach the United States is unacceptable,” he said.

However he added, “China remains our biggest long-term challenge. Without focused involvement and engagement by the United States and our allies and partners China will realize its dream of hegemony in Asia.”

Responding to Harris’s comments Thursday, Chinese Foreign Ministry spokeswoman Hua Chunying said the admiral was “obsessed with hegemony” because he fears others are trying to steal it from the US.

“The US military presence in the South China Sea far exceeds the total of China and other coastal countries,” Hua said, calling US accusations of militarization “like a thief crying, ‘Stop, thief!’”

China’s deployments and building programs in the South China Sea are part of its self-defense, Hua added.

Harris spoke alongside US Secretary of Defense James Mattis, who stopped off in Hawaii on his way to Singapore for a high-profile security forum, where issues relating to the South China Sea and North Korea will be discussed.

It is unclear what role Harris will play in talks with Pyongyang leading up to a hoped-for summit between US President Donald Trump and North Korea leader Kim Jong Un in Singapore on June 12. Harris’ nomination went to the Senate on May 18 ahead of his expected confirmation.

The admiral had been Trump’s choice for to fill the vacant ambassador post in Australia, but that nomination was pulled hours before his confirmation hearing in April. Sources told CNN at the time that the move was the idea of Secretary of State Mike Pompeo, who has been instrumental in laying the groundwork for a Trump-Kim summit.

While Harris has always been a hawk on North Korea during his term at Pacific Command, he has also issued warnings on China as Beijing has pursued a more muscular military posture in the Pacific and established a military presence on man-made islands in areas the US and its allies contend are international waters.

Harris was still in charge of Pacific Command last week when it pulled an invitation for China to participate in the 2018 Rim of the Pacific (RIMPAC) military exercise, the world’s largest international maritime warfare exercise.

US officials said that decision was made after Beijing’s recent deployment of missile systems and the first landing of a Chinese bomber on an island in the South China Sea.

Standing alongside Secretary of State Mike Pompeo at a news conference in Washington on May 23, Chinese Foreign Minister Wang Yi called the US decision “unhelpful.”

“We find that a very unconstructive move … It’s unhelpful to mutual understanding between China and the US. We hope the US will change such a negative mindset,” he said.

In Hawaii Wednesday, Mattis said, “we should cooperate with Beijing where we can but stand ready to confront them where we must.”

Harris also warned his successors to keep an eye on Moscow, saying Russia is trying to act as “the spoiler” in the Indo-Pacific.

“A geopolitical competition between free and repressive visions of world order is taking place in the Indo-Pacific,” Harris said.

“Great power competition is back and I believe we’re approaching an inflection point in history…. Freedom and justice hang in the balance.”

CNN’s Tim Schwarz contributed to this report.