Taiwan said it is an "independent" nation, hours after US President Donald Trump warned the democratic island against declaring formal independence.
Mr Trump wrapped up a state visit to Beijing yesterday where Chinese President Xi Jinping had pressed him not to support Taiwan, which China claims is part of its territory.
Taiwan depends heavily on US security backing to deter China from carrying out its threat to annex the island by force.
Taiwan "is a sovereign and independent democratic nation, and is not subordinate to the People's Republic of China", Taiwan's foreign ministry said in a statement.
The ministry also insisted that US arms sales were part of Washington's security commitment to Taiwan, after Mr Trump flagged that he was considering the issue.
Taiwan's statements came after Mr Trump issued a warning to the island against making a declaration of independence.
"I'm not looking to have somebody go independent. And, you know, we're supposed to travel 9,500 miles to fight a war. I'm not looking for that," he told Fox News' Special Report with Bret Baier.
"I want them to cool down. I want China to cool down," Mr Trump said.
"We're not looking to have wars, and if you kept it the way it is, I think China's going to be OK with that."
The United States recognises only Beijing and does not support formal independence by Taiwan, but historically has stopped short of explicitly saying it opposes independence.
Under US law, the United States is required to provide weapons to Taiwan for its defence, but it has been ambiguous on whether US forces would come to the island's aid.
Mr Xi had begun the summit with a warning on Taiwan, whose President Lai Ching-te considers the island already independent, making a declaration unnecessary.

The Chinese leader told Mr Trump that missteps on the sensitive issue could cause "conflict".
Taiwan's Presidential Office noted this morning the "multiple reaffirmations from the US side, including President Trump and Secretary of State Marco Rubio, that the consistent US policy and position toward Taiwan remain unchanged".
"Taiwan-US cooperation has always been demonstrated through action," spokeswoman Karen Kuo said in a statement.
"Taiwan looks forward to continuing to work with the US under the firm commitments of the Taiwan Relations Act."
Ahead of the summit, Mr Trump had said he would speak to Xi about US arms sales to Taiwan, a departure from Washington's previous insistence that it would not consult Beijing on the matter.
Taiwan's parliament recently approved a $25 billion defence spending bill that will be used for US weapons.
Politicians have said the funds will cover nearly $9 billion of the $11.1 billion arms package announced by Washington in December and a second phase of arms sales - not yet approved by the United States -- worth more than $15 billion.
Speaking to reporters yesterday en route to Washington, Mr Trump said on arms sales: "I'll make a determination over the next fairly short period of time."
Taiwan's foreign ministry said arms were "not only a US security commitment to Taiwan clearly stipulated in the Taiwan Relations Act, but also a form of joint deterrence against regional threats".
China has sworn to take the island and has not ruled out using force, ramping up military pressure in recent years.