Although the Durand Line is internationally recognized as the western border of Pakistan, it remains largely unrecognized by Afghanistan. Sardar Mohammed Daoud Khan, former prime minister and later president of Afghanistan, vigorously opposed the border and launched a propaganda war - however during his visit to Pakistan in August 1976, he softened his tone by recognising the Durand line as the international border. In 2017, amid cross-border tensions, former Afghan President Hamid Karzai said that Afghanistan will "never recognise" the Durand Line as the international border between the two countries.