After two decades of involvement, Jacinda Ardern has announced New Zealand will bring home Kiwi forces from Afghanistan within months.
More than 3500 New Zealanders have served in Afghanistan since NZ joined the US-led invasion in 2001 following the September 11 attacks.
Just six remain - three in NATO headquarters and three within Afghanistan's military training facility.
On Wednesday, the prime minister said they would finish their roles in May.
"After 20 years of a NZDF presence in Afghanistan, it is now time to conclude our deployment," Ms Ardern said.
"The deployments to Afghanistan have been one of the longest-running in our history.
"I wish to acknowledge the 10 New Zealanders who lost their lives in the line of duty, and the more than 3500 NZDF and other agency personnel, whose commitment to replace conflict with peace will always be remembered."
Foreign Affairs Minister Nanaia Mahuta said New Zealand was committed to finding "an enduring political solution" through the intra-Afghan peace process.