Turkmenistan, with abundant natural gas resources, became the largest gas exporter to China. In Kazakhstan, Chinese companies represent about 20 percent of the country’s oil output. A fourteen-hundred-mile pipeline from the Caspian shore of western Kazakhstan carries oil across the country to China, making Kazakhstan an important source of diversification for Beijing.