With US and other funding, the ISI armed and trained over 100,000 insurgents. On July 20, 1987, the withdrawal of Soviet troops from the country was announced pursuant to the negotiations that led to the Geneva Accords of 1988,<ref>{{Cite web|url=http://www.un.org/Depts/dpko/dpko/co_mission/ungomap/background.html |title=United Nations Good Offices Mission in Afghanistan and Pakistan - Background |publisher=United Nations |date= |accessdate=2008-11-21}}</ref> with the last Soviets leaving on February 15, 1989. | With US and other funding, the ISI armed and trained over 100,000 insurgents. On July 20, 1987, the withdrawal of Soviet troops from the country was announced pursuant to the negotiations that led to the Geneva Accords of 1988,<ref>{{Cite web|url=http://www.un.org/Depts/dpko/dpko/co_mission/ungomap/background.html |title=United Nations Good Offices Mission in Afghanistan and Pakistan - Background |publisher=United Nations |date= |accessdate=2008-11-21}}</ref> with the last Soviets leaving on February 15, 1989. |