Its foreign boundary is 2000 kilometers , generally located between Altai Mountains and the main range of Tian Shan, occupying most of the Dzungarian Basin in northern Xinjiang and the Ili River Basin.