Hekmatyar 's Hizb-e-Islami faction helped end the Soviet occupation of Afghanistan .