Chinese President Xi Jinping has pledged that any attempt to "bully" China will end with "broken heads and bloodshed".
He made the remarks as part of his keynote speech during the Communist Party's celebration of its centenary.
"The Chinese people are a people with a strong sense of pride and self-confidence," a translated quote from Xi said.
"We have never bullied, oppressed or enslaved the people of another nation, not in the past, during the present or in the future.
"At the same time, the Chinese people will absolutely not allow any foreign force to bully, oppress or enslave us and anyone who attempts to do so will face broken heads and bloodshed in front of the iron Great Wall of the 1.4 billion Chinese people."
Xi said that the party has been central to China's growth success and that attempts to separate it from the people would "fail", the BBC reports.
A closely selected audience of 70,000 people gathered in Beijing's Tiananmen square for the celebrations.
READ MORE: Australians consider China security threat, study suggests
The celebration events today included military jet fly-pasts, cannon salutes and patriotic music.
In July 1921, in a small brick house in Shanghai's former French Concession, Mao Zedong and around a dozen other delegates gathered together in secret to form a new political party.
Much has changed since 1921, but the Chinese Communist Party, which today boasts more than 95 million members, equivalent to almost 7 per cent of China's entire population, has remained an ever-present fixture - even as communist parties elsewhere collapse or fade from view.
READ MORE: China is facing its worst power shortage in a decade. That's a problem for the whole world
But while the party has proven itself willing to adapt and change at crucial moments to ensure its survival, it remains keenly aware of the risks it faces, from a slowing economy, an aging population and a shrinking workforce, to an increasingly united West that is determined to counter its rise.
Viewed in this context, its centenary, marked officially today, is an opportunity for the party to reaffirm its credentials, while ensuring loyalty.
"How do you prove that you are the legitimate government of China? You do so by putting on an enormous show to remind people of what you've given them. You've lifted them out of poverty, given them economic growth and restored China to a central place in the world," Graeme Smith of the Australian National University in Canberra told CNN.
Indeed, for weeks state media has been saturated with images extolling the virtues of the party and its numerous successes. Much of the capital, meanwhile, has come under heightened security, for what is expected to be a large-scale celebration of the party's history, replete with fireworks and a speech from China's top leader Xi Jinping.
Under Xi, the party has consolidated its hold on key sectors and industries, while tightening its grip on daily life. As Xi himself said at the 17th Party Congress in 2017, "In the east, west, south, and north, the party leads everything."
But while the party has much to celebrate, particularly China's growth from one of the poorest nations in the world into an economy on the brink of overtaking the US, it has also been responsible for some of darkest chapters of the last century, including the brutal repression of student protestors in Tiananmen Square, the decade of mayhem under former Chairman Mao Zedong's Cultural Revolution, and the millions who starved to death as a result of disastrous CCP economic policy decisions.
Such incidents are unlikely to feature in today's trip down memory lane, having long been played down or simply censored outright within China. But that doesn't mean they will be forgotten.
Whether the party likes it or not, its 100th anniversary also provides an opportunity for the world to reflect on an organization whose power and reach now extends far beyond its own borders.
The party's influence inside global organisations, including the United Nations, the World Bank and the World Health Organisation, is growing and many Western nations are heavily reliant on China for their economic growth.
Of course, it's far from certain that the Communist Party will continue on its current upward trajectory. But for better or worse, whatever the party does - and however long it lasts - its impact is likely to be felt across the world.
- With CNN, Associated Press