Yunus Khan was irritated by the restrictions on the frequency and size of Turpanian missions (no more than one mission in 5 years, with no more than 10 members) imposed by the Ming government in 1465 and by the Ming's refusal to bestow sufficiently luxurious gifts on his envoys (1469). Accordingly, in 1473 he went to war against China, and succeeded in capturing Hami in 1473 from the Oirat Mongol Henshen and holding it for a while, until Ali was repulsed by the Ming Dynasty into Turfan. He reoccupied Hami after Ming left. Henshen's Mongols recaptured Hami twice in 1482 and 1483, but the son of Ali, Ahmad Alaq, reconquered it in 1493 and captured the Hami leader and the resident of China in Hami (Hami was a vassal state to Ming). In response, the Ming Dynasty imposed an economic blockade on Turfan and kicked out all the Uyghurs from Gansu. It became so harsh for Turfan that Ahmed left. Ahmed's son Mansur succeeded him and took over Hami in 1517. These conflicts were called the Ming Turpan Border Wars.