"An Afghan fighter Khan Mohammad imprisoned in America has been released in exchange for American citizens and returned to the country," the Afghan foreign ministry said in a statement, adding Mohammad had been serving a life sentence after being arrested "almost two decades ago".