Afghanistan would remain disunited Until Dost Mohammad Khan's ascendancy in 1826, chaos reigned in Afghanistan, which effectively ceased to exist as a single entity, disintegrating into a fragmented collection of small countries or units. Dost Mohammad throughout his reign had focused on re-uniting Afghanistan and had succeeded in doing so, with the Herat Campaign of 1862-63 in the recapture of Herat, and the eventual conquest of the Principality of Qandahar.
Afghanistan remained divided until Dost Mohammad Khan's rule began in 1826, resulting in a period of chaos and fragmentation.  He successfully unified the country through campaigns like the Herat Campaign (1862-63) and the conquest of Qandahar.