YES HOWEVER YELTSIN WAS NOT RUSSIAN PRESIDENT IN 2001.
But Yeltsin began arming Masood's and Rabbani's forces from the very beginning, when the Taliban began to take over Afghanistan. And why? Because of Tajikistan. Putin inherited this from Yeltsin and somehow decided to continue it.