Beijing CNN  — 

China’s largely ceremonial parliament on Sunday overwhelmingly endorsed a controversial change to the country’s constitution, paving the way for President Xi Jinping to stay in power indefinitely.

Inside Beijing’s Great Hall of the People, nearly 3,000 delegates to the National People’s Congress (NPC) cast their ballots on a series of proposed amendments – including removing the restriction that had limited the presidency to two consecutive five-year terms.

Out of 2,964 ballots, just two delegates voted against the move and three abstained, suggesting minimal opposition to Xi’s push to rule for life. The amendments’ passage required two thirds of the vote, which was a largely symbolic exercise.

The ruling Communist Party