China’s military said it issued a warning to a US Navy destroyer in the disputed South China Sea on Friday.

The USS Halsey was sailing near the Paracel Islands at the time of the encounter.

A spokesperson for China’s military said it “organized naval and air forces to tail and monitor the ship in accordance with laws and regulations and issued a warning to drive it away.”

“The actions by the United States seriously violate China’s sovereignty and security,” it added.

The People’s Liberation Army accused Washington of being the “creator of security risks” and said the incident was “yet another iron proof of its navigation hegemony and militarization of the South China Sea.”