Chinese President Xi Jinping is set to deliver the first resolution on Communist Party history in 40 years, giving him the mandate to potentially rule for life as a major summit wraps in Beijing.

The landmark document that could change the course of China is expected to be announced in a communique Thursday, as the party wraps up a four-day meeting. Only Mao Zedong and Deng Xiaoping have authored a so-called historical resolution, and both used their works to dominate party politics until they died.

The party’s powerful Central Committee has been huddled at a military hotel in Beijing since Monday, for the final major gathering before a leadership congress late next year, where Xi will seek a precedent-defying third term.