China’s President Xi Jinping has warned that foreign powers will “get their heads bashed” if they attempt to bully or influence his country.
He delivered a defiant speech at an event marking the centenary of the ruling Communist Party
Mr Xi also said Beijing would not allow “sanctimonious preaching”, in remarks widely seen as directed at the US.
It comes as China faces criticism over alleged human rights abuses and its crackdown in Hong Kong.
Relations between the US and China have worsened in recent times over trade, espionage and the pandemic.
The issue of Taiwan is also a major source of tension. While democratic Taiwan sees itself as a sovereign state, Beijing views the island as a breakaway province.
The US, under its own laws, is required to provide Taiwan with the means to defend itself should Beijing use force to take the island back.