Zunbil, also written as Zhunbil, was a dynasty south of the Hindu Kush in southern Afghanistan. They ruled from the early 7th century until the Islamic conquest of Afghanistan in 870 AD. The Zunbils are believed to be an offspring of the southern-Hephthalite rulers of Zabulistan and culturally connected to Greater India. The dynasty was related to the Kabul Shahis of the northeast in Kabul. "It follows from Huei-ch'ao's report that Barhatakin had two sons: one who ruled from after him in Kapisa-Gandhara and another who became king of Zabul".
The Zunbils worshipped a god named Zun (Zoon) from which they derived their name. Their territory included between what is now the city of Zaranj in southwestern Afghanistan and Kabulistan in the northeast, with Zamindawar and Ghazni serving as their capitals. Although the rulers of the Zunbil dynasty were worshippers of the sun, many inhabitants south of the Hindu Kush practiced Buddhism and other ancient religions before the Islamization of the region. The title Zunbil can be traced back to the Middle-Persian original Zūn-dātbar, 'Zun the Justice-giver'. The geographical name Zamindawar would also reflect this, from Middle Persian 'Zamin-i dātbar' (Land of the Justice-giver).
According to Anthony McNicoll, "the Zunbils ruled in the Kandahar area for nearly 250 years until the late 9th century AD". Their main capital Zamindawar was located in the present-day Helmand Province of Afghanistan. The shrine of Zoon (sun god) was located about three miles south of Musa Qala in Helmand, which may still be traced today. Some believe that the Sunagir temple mentioned by the famous Chinese traveller Xuanzang in 640 AD pertains to this exact house of worship.
In 653-4 AD, an army of around 6,000 Arabs were led by General Abdur Rahman bin Samara and they arrived to the shrine of Zoon in Zamindawar. It is reported that General Abdur Rahman "broke off a hand of the idol and plucked out the rubies which were its eyes in order to persuade the Marzbān of Sīstān of the god's worthlessness." The General explained to the Marzbān: "my intention was to show you that this idol can do neither any harm nor good." At this point some of the people of southern Afghanistan accepted Islam for the first time. In 698 Ubayd Allah b. Abi Bakra lead the 'Army of Destruction' against the Zunbils and was defeated. About 700 Ibn al-Ash'ath tried again with the 'Peacock Army' which led to a mutiny 
Saffarid and Zunbil Struggles
C.E. Bosworth writes that:
"One of the most important aspects of early Saffarids policy of significance for the spread of Islam in Afghanistan and on the borders of India long after their empire had collapsed was that of expansion into east Afghanistan. The early Arab governors of Sistan had at times penetrated as far as Ghazna and Kabul, but these had been little more than slave and plunder raids. There was a fierce resistance from the local rulers of these regions, above all from the line of Zunbils who ruled in Zamindavar and Zabulistan and who were probably epigoni of the southern Hepthalite or Chionite kingdom of Zabul; on more than one occasion, these Zunbils inflicted sharp defeats on the Muslims. The Zunbils were linked with the Kabul-Shahs of the Turk Shahi dynasty; the whole river valley was at this time culturally and religiously an outpost of the Indian world, as of course it had been in the earlier centuries during the heyday of the Buddhist Gandhara civillization."
- Andre Wink, Al-Hind, the Making of the Indo-Islamic World, Vol.1, (Brill, 1996), 115;""The Zunbils of the early Islamic period and the Kabulshahs were almost certainly epigoni of the southern-Hephthalite rulers of Zabul."
- History of Civilizations of central Asia, B A Litivinsky Zhang Guang-Da, R Shabani Samghabadi, p.376
- "The Temple of Zoor or Zoon in Zamindawar". Abdul Hai Habibi. alamahabibi.com. 1969. Retrieved August 14, 2012.
- André Wink, "Al-Hind: The Making of the Indo-Islamic World", Brill 1990, p. 118
- Bosworth, Clifford Edmund. 2002. The Encyclopaedia of Islam. Leiden: Brill. Zamindawar. p.439.
- Excavations at Kandahar 1974 & 1975 (Society for South Asian Studies Monograph) by Anthony McNicoll
- André Wink, "Al-Hind: The Making of the Indo-Islamic World", Brill 1990. p 120
- "Amir Kror and His Ancestry". Abdul Hai Habibi. alamahabibi.com. Retrieved August 14, 2012.
- Hugh Kennedy,The Great Arab Conquests',2007, pages 194-198
- The Tahirids and Saffarids, C.E.Bosworth,The Cambridge History of Iran:From the Arab Invasion to the Saljuqs, Vol. IV, Ed. Richard Nelson Frye, William Bayne Fisher and John Andrew Boyle, (Cambridge University Press, 1975), 111. ISBN 0-521-20093-8, ISBN 978-0-521-20093-6