The USSR withdrew in 1989 under relentless pressure by internationally supported anti-Communist mujahedin rebels .