In the early 16th century, Sultan Mahmud Khan, the Chagatai Khan of Western Moghulistan and Sultan Ahmad Alaq Khan, the Chagatai Khan of Eastern Moghulistan decided to counter the growing power of the Uzbeks under Muhammad Shaybani. Sultan Ahmed Tambol had rebelled against his Timurid master Babur and declared his independence. But when Babur tried to reconquer his territory with the help of his uncles (the above named Khans), Ahmed Tambol sought the assistance of the Uzbeks.