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 fragmented until Dost Mohammad Khan's rise to power in 1826, leading to widespread disorder and disintegration of the nation into numerous smaller entities.  Dost Mohammad, throughout his reign, prioritized reuniting Afghanistan and achieved this through campaigns like the Herat Campaign (1862-63) and the conquest of Qandahar's Principality.