China is canceling plans to build more than 100 coal-fired power plants, seeking to rein in runaway, wasteful investment in the sector while moving the country away from one of the dirtiest forms of electricity generation, the government announced in a directive made public this week.

The announcement, made by China’s National Energy Administration, cancels 103 projects that were planned or under construction, eliminating 120 gigawatts of future coal-fired capacity. That includes dozens of projects in 13 provinces, mostly in China’s coal-rich north and west, on which construction had already begun. Those projects alone would have had a combined output of 54 gigawatts, more than the entire coal-fired capacity of Germany, according to figures compiled by Greenpeace.

The cancellations make it likelier that China will meet its goal of limiting its total coal-fired power generation capacity to 1,100 gigawatts by 2020. That huge figure, three times the total coal-fired capacity in the United States, is far more than China needs. Its coal plants now run at about half of capacity, and new sources of power, like wind, solar and nuclear, are coming online at a fast clip.

Nevertheless, China’s capacity would have surged well past the 1,100-gigawatt mark by 2020 had it not begun canceling coal-fired plants in the works. The new announcements are in addition to cancellations detailed last year.