foreign mujahideen have played an important part in both first and second chechen wars. after the collapse of the soviet union and the subsequent chechen declaration of independence, foreign fighters started entering the region and associated themselves with chechen rebels, most notably shamil basayev with whom khattab build up a friendship. many of them were veterans of the soviet–afghan war and prior to the russian invasion, they used their expertise to train the chechen separatists.