Kabul was ruled by Ulugh Begh Mirza of the Arghun Dynasty, who died leaving only an infant as heir.
Babur became the only reigning ruler of the Timurid dynasty after the loss of Herat, and many princes sought refuge from him at Kabul because of Shaybani's invasion in the west.