Gulbuddin Hekmatyar was born in 1947 in Imam Sahib District of the Kunduz province, northern Afghanistan, a member of the Kharoti tribe of the Ghilji Pashtun. His father, Ghulam Qader, who migrated to Kunduz, is originally from the center of Ghazni province. Afghan businessman and Kharoti tribal leader Gholam Serwar Nasher deemed Hekmatyar to be a bright young man and sent him to the Mahtab Qala military academy in 1968, but he was expelled due to his political views two years later. From 1970 to 1972, Hekmatyar attended Kabul University's engineering department.

A highly controversial commander, Hekmatyar has been dubbed the "Butcher of Kabul", accused of being responsible for the destruction and civilian deaths Kabul experienced in the early 1990s.  According to the U.S. Special Envoy to Afghanistan in 1989-1992, Peter Tomsen, Gulbuddin Hekmatyar was hired in 1990 by the Pakistani Inter-Services Intelligence (ISI) to conquer and rule Afghanistan in the benefit of Pakistani interests, which plan was delayed until 1992 due to US pressure to cancel that plan.  In April 1992, as the Democratic Republic of Afghanistan began to collapse, government officials joined the mujahideen, choosing different parties according to their ethnic and political affinities. For the most part, the members of the khalq faction of the PDPA, who were predominantly Pashtuns, joined with Hekmatyar. With their help, he began on 24 April to infiltrate troops into Kabul, and announced that he had seized the city, and that should any other leaders try to fly into Kabul, he would shoot their plane down. The new leader of the "Islamic Interim Government of Afghanistan", Sibghatullah Mojaddedi, appointed Ahmad Shah Massoud as defense minister, and urged him to take action. This he did, taking the offensive on 25 April, and after two days heavy fighting, the Hezb-i Islami and its allies were expelled from Kabul. A peace agreement was signed with Massoud on 25 May 1992, which made Hekmatyar Prime Minister. However, the agreement fell apart when he was blamed for a rocket attack on President Mojaddedi's plane. The following day, fighting resumed between Burhanuddin Rabbani's and Ahmed Shah Massoud's Jamiat, Abdul Rashid Dostum's Jumbish forces and Hekmatyar's Hezb-i Islami forces.  From 1992 to 1996, the warring factions destroyed most of Kabul and killed thousands of people, most of them civilians, during the Afghan civil war. All the different parties participated in the destruction, but Hekmatyar's group was responsible for most of the damage, because of his practice of deliberately targeting civilian areas. Hekmatyar is thought to have bombarded Kabul in retaliation for what he considered its inhabitants' collaboration with the Soviets, and out of religious conviction. He once told a New York Times journalist that Afghanistan "already had one and a half million martyrs. We are ready to offer as many to establish a true Islamic Republic." His attacks also had a political objective: to undermine the Rabbani government by proving that Rabbani and Massoud were unable to protect the population. In 1994 Hekmatyar would shift alliances, joining with Dostum as well as Hizb-e-Wahdat, a Hazara Shi'a party, to form the Shura-i Hamahangi ("Council of coordination"). Together they laid Siege of Kabul, unleashing massive barrages of artillery and rockets that led to the evacuation of U.N. personnel from Kabul, and caused several government members to abandon their posts. However the new alliance did not spell victory for Hekmatyar, and in June 1994, Massoud had driven Dostum's troops from the capital.

Using a quote from the above article, answer the following question: What roles did the different parties play?
For the most part, the members of the khalq faction of the PDPA, who were predominantly Pashtuns, joined with Hekmatyar.