Vadym Prystaiko / Photo from UNIAN

"Ukraine remains a trusted US and NATO partner and we support the peace and stability settlement in Afghanistan by taking part in NATO's Resolution Support Mission for as long as the Afghan people need help," Prystaiko wrote on Twitter.

In a separate tweet, the top diplomat noted that Ukraine welcomed the U.S.-Taliban agreements reached in Afghanistan.

Read alsoUkraine may be granted Enhanced Opportunity Partner status in Oct – defense minister

"After many years of war the path to a peaceful resolution is now open," the foreign minister wrote.

As UNIAN reported earlier, on February 29, 2020, in Doha, Qatar, the United States and the Islamist group Taliban signed an agreement aimed at ending the war in Afghanistan.

The agreement has four points, according to Al Jazeera: a timeline of 14 months for the withdrawal of all U.S. and NATO troops from Afghanistan; a Taliban guarantee that Afghan soil will not be used as a launchpad that would threaten the security of the U.S.; the launch of intra-Afghan negotiations by March 10; and a permanent and comprehensive ceasefire.

The U.S. deployed its troops in Afghanistan almost 19 years ago, following the 9/11 terror attack. This is the longest military campaign in U.S. history.