The U.S. Navy reportedly sailed a warship through the Taiwan Strait Wednesday just a day after Beijing said the United States is undermining global stability through “power politics.”

China said it would take all necessary military measures to defeat “separatists” in Taiwan.

The U.S. Navy identified the warship as the Antietam, according to Reuters.

FILE - This Mar. 6, 2016, file photo provided by the U.S. Navy, shows the Ticonderoga-class guided-missile cruiser USS Antietam (CG 54) sails in the South China Sea. China says it dispatched warships to identify and warn off a pair of U.S. Navy vessels sailing near one of its island claims in the South China Sea. A statement on the Defense Ministry’s website said the Arleigh Burke class guided-missile destroyer USS Higgins and Ticonderoga class guided-missile cruiser USS Antietam entered waters China claims in the Paracel island group “without the permission of the Chinese government.” (Mass Communication Specialist 2nd Class Marcus L. Stanley/U.S. Navy via AP, File)

This Mar. 6, 2016, file photo provided by the U.S. Navy, shows the Ticonderoga-class guided-missile cruiser USS Antietam (CG 54) sails in the South China Sea. (Mass Communication Specialist 2nd Class Marcus L. Stanley/U.S. Navy via AP)

CHINA: US AN ‘INITIATOR’ OF SECURITY CONCERNS, UNDERMINES GLOBAL SECURITY WITH 'POWER POLITICS'

“The transit through the Taiwan Strait demonstrates the U.S. commitment to a free and open Indo-Pacific,” Commander Clay Doss, a spokesman for the U.S. Navy’s Seventh Fleet, said in a statement. “The U.S. Navy will continue to fly, sail and operate anywhere international law allows.”

The U.S. and China are already embroiled in a tense trade war as Taiwan and other Pacific allies grow concerned about China’s growing military threat.

Earlier this month, the U.S. tentatively approved the sale of $2.2 billion in arms to Taiwan – a proposal that had prompted China to threaten sanctions against the U.S.

CLICK HERE TO GET THE FOX NEWS APP

“Taiwan makes no compromise on its freedom, democracy and sovereignty,” Taiwan President Tsai Ing-wen said about the crossing, Reuters reported.