In 1496, the 15-year-old Babur marched to attack Samarkand. At the same moment and induced by the same motives, Sultan Masud Mirza, the older brother of Sultan Ali Mirza and Baysonqor Mirza, was on his way to besiege the city. Thus that unfortunate city, unfortunate from its very wealth and former prosperity, saw itself beleaguered on three sides at the same time by the armies of three different potentates who acted without concert; Babur having advanced towards it from
Andijan; Masud Mirza from
Hissar and Sultan Ali from
Bukhara. Sultan Ali now proposed to Babur that they should enter into a treaty of alliance and mutual cooperation, to which Babur, accompanied by a limited number of followers, willingly agreed. But as the autumn was already drawing to a close and the winter was fast approaching, and as the country round
Samarkand was exhausted by the presence of so many armies and altogether unable to furnish the requisite provisions for the troops all the invading princes, they were forced to withdraw to their own territories. However, Babur and Sultan Ali decided that as soon as the winter season was over they would return and besiege the city again. ==Aftermath ==