China published its first “green development” index on Tuesday, listing regional governments which promote environmentally friendly development, with Beijing coming out top, though it came second-to-last in a survey of public satisfaction.

The heavily polluted capital was first in the ranking of 31 provinces and regions for 2016, which was published by the National Bureau of Statistics, followed by Fujian and Zhejiang provinces, while Tibet and Xinjiang were the lowest ranked regions.

Hebei province, which surrounds Beijing and is home to several cities with some of the worst air pollution in the world, was ranked 20th.

President Xi Jinping said in October that fighting pollution was one of China’s key tasks through 2020, and the government has vowed to reduce air pollution across 28 northern cities this winter.

“By measuring overall progress on ecological civilization construction over the last year, the annual evaluation guides all regions to push forward green development, and implement ecological civilization construction,” statistics bureau head Ning Jizhe wrote in a note along with the data release.

The National Development and Reform Commission, the Ministry of Environmental Protection and the Communist Party’s Organization Department jointly published the data with the statistics bureau.

While Beijing was top in the green index, the capital came in 30th out of 31 regions in a separate survey of public satisfaction with the environment published along with the green index data on the statistics bureau website.

Tibet came in first in public satisfaction with the environment.

In explaining the discrepancy, Ning wrote that the two indicators measured different things.

The green index was based on 55 statistical parameters and took into account investment in cleaning up the environment and use of resources, and reflected progress on moving towards a better environment.