US Speaker Nancy Pelosi has left Taiwan after a brief but controversial visit.
Ms Pelosi – the most senior US politician to visit in 25 years – departed on Wednesday after meeting leaders in the capital Taipei.
But her visit, as part of a wider Asian tour, sparked fury in Beijing after she ignored its warnings not to travel to the island.
Taiwan is self-ruled – but China sees it as a breakaway province that will eventually unite with it.
In a statement issued on Wednesday, China’s Foreign Minister Wang Yi said “those who play with fire will not come to a good end, and those who offend China will be punished”.
“The United States is violating China’s sovereignty under the guise of so-called democracy,” he added.
The US walks a diplomatic tightrope with its Taiwan policy.