U.S. Secretary of State Marco Rubio, Japanese Foreign Minister Motegi Toshimitsu and Foreign Minister Cho Hyun attend a trilateral meeting on the sidelines of the NATO leaders' summit, in Ankara, Turkey, Tuesday, July 7. AP-Yonhap

The top diplomats of Korea, the United States and Japan have reaffirmed their commitment to the denuclearization of the Korean Peninsula and vowed to continue efforts to pursue dialogue with North Korea, Seoul's foreign ministry said Wednesday.

The commitment was made during trilateral talks held Tuesday on the sidelines of the North Atlantic Treaty Organization (NATO) summit in Ankara between Foreign Minister Cho Hyun, U.S. Secretary of State Marco Rubio and Japanese Foreign Minister Toshimitsu Motegi, according to the ministry.

"The ministers shared assessments of the situation on the Korean Peninsula and agreed to maintain close coordination on North Korea-related policies, including efforts to counter Pyongyang's illicit cyberactivities," the ministry said in a release.

"While reaffirming their commitment to the denuclearization of the Korean Peninsula, they also agreed to continue efforts to maintain peace and stability through dialogue and diplomacy," it added.