North Korean leader Kim Jong Un supervises a "strike drill" for multiple launchers and tactical guided weapon into the East Sea on May 4, 2019

North Korea said on Thursday it had successfully test-fired a new submarine-launched ballistic missile (SLBM) from the sea to contain external threats and bolster self-defense, ahead of fresh nuclear talks with the United States.

The launch on Wednesday was the most provocative by North Korea since it resumed dialogue with the United States in 2018 and a reminder by Pyongyang of the weapons capability it has been aggressively developing, including intercontinental ballistic missiles, analysts said.

North Korean leader Kim Jong Un "sent warm congratulations" to the defense scientists who conducted the test, state news agency KCNA said, indicating he did not attend the launch as he has at previous tests of new weapons systems.

The new type of SLBM, called Pukguksong-3, was "fired in vertical mode" in the waters off the eastern city of Wonsan, KCNA said, confirming an assessment by South Korea's military on Wednesday that the missile was launched on a lofted trajectory.

"The successful new-type SLBM test-firing comes to be of great significance as it ushered in a new phase in containing the outside forces' threat to the DPRK and further bolstering its military muscle for self-defense," KCNA said.

DPRK is short for the North's official name, the Democratic People's Republic of Korea.

The test "had no adverse impact on the security of neighboring countries," KCNA said but gave no other details about the launch.

Photos released in the North's official Rodong Sinmun newspaper, whose front two pages featured the test, showed a black-and-white painted missile clearing the surface of the water, then the rocket engine igniting to propel it into the sky.

A State Department spokeswoman called on Pyongyang to "refrain from provocations" and to remain committed to nuclear negotiations.

South Korea expressed strong concern and Japanese Prime Minister Shinzo Abe condemned the launch, saying it was a violation of U.N. Security Council resolutions.

North Korea rejects U.N. Security Council resolutions that ban Pyongyang from using ballistic missile technology, saying they are an infringement of its right to self-defense.

Talks aimed at dismantling North Korea's nuclear and missile programs have been stalled since a second summit between Kim and U.S. President Donald Trump in Vietnam in February broke down in disagreement over nuclear disarmament.