Ahmad Wali, a former prosecutor who has served in several provinces, became addicted to drugs at the hands of close friends.