Images are unavailable offline.

Pilots leave after an event at an Air Force base in Penghu Islands, Taiwan, on Aug. 30.

ANN WANG/Reuters

Taiwan fired warning shots at a Chinese drone which buzzed an offshore islet on Tuesday shortly after President Tsai Ing-wen said she had ordered Taiwan’s military to take “strong countermeasures” against what she termed Chinese provocations.

It was the first time warning shots have been fired in such an incident amid a period of heightened tension between China and Taiwan, which Beijing views as its own territory. Taiwan strongly disputes China’s sovereignty claims.

The drone headed back to China after the shots were fired, a military spokesman said.

Story continues below advertisement

Taiwan has complained of Chinese drones repeatedly flying very close to small groups of islands it controls near China’s coast, most recently by the Kinmen islands, as part of military drills by Beijing.

China has carried out the exercises around the island after a visit by U.S. House of Representatives Speaker Nancy Pelosi this month.

Kinmen defence command spokesman Chang Jung-shun said the live rounds were fired just before 6 p.m. at the drone, which had approached Erdan islet, with flares being used previously. The drone then flew off back to China, he said.

There was no immediate response from China. On Monday, the Chinese Foreign Ministry dismissed Taiwan’s complaints about the drones as nothing “to make a fuss about.”

Story continues below advertisement

Footage of at least two drone missions showing Taiwanese soldiers at their posts, and in one case throwing rocks at a drone, have circulated widely on Chinese social media.

Speaking earlier on Tuesday while visiting the armed forces on the Penghu islands, Ms. Tsai criticized China for its drone and other “grey zone” warfare activity.

“I want to tell everyone that the more the enemy provokes, the more calm we must be,” Ms. Tsai told naval officers. “We will not provoke disputes, and we will exercise self-restraint, but it does not mean that we will not counter.”

She said she had ordered the Defence Ministry to take “necessary and strong countermeasures” to defend their airspace. She did not elaborate.

Story continues below advertisement

The Kinmen islands are at their closest point just a few hundred metres from Chinese territory, opposite China’s Xiamen and Quanzhou cities.

Officers told reporters accompanying Tsai that warships and fighter jets based at Penghu – which lies in the Taiwan Strait closer to Taiwan than China – have been going out armed with live ammunition since China began its exercises this month, though they have not opened fire.

Frigate Captain Lee Kuang-ping said they had regularly traded radio warnings with Chinese warships.

“Sometimes near the drill zone communist Chinese fishing boats appear, and they provocatively say ‘hit them, hit them!,’” Capt. Lee said.

Story continues below advertisement

On a Facebook post citing a navy commander in Penghu, Ms. Tsai said ships from both sides came as close as 500-600 yards (about 460 to 550 metres) each other and Taiwan ships “strictly monitored” their Chinese counterparts.

The Chinese military unit responsible for the area adjacent to Taiwan, the People’s Liberation Army’s Eastern Theatre Command, released on Aug. 15 a video of the Penghu islands, apparently taken by China’s air force.

Taiwan’s military termed the video information warfare, accusing China of exaggeration and saying it was not true Chinese forces had come near the islands.

Taiwan’s armed forces are well-equipped but dwarfed by China’s. Ms. Tsai has been overseeing a modernization programme and has made increasing defence spending a priority.

Asked about the Chinese drone activities earlier on Tuesday, Taiwan Defence Minister Chiu Kuo-cheng said he could not give details on what they would do to counter the incursions, but he said the military would react based on the principle of “self-defence.”

Story continues below advertisement

“Don’t make a fuss then when I set off some firecrackers to scare away some sparrows,” he told reporters in Taipei in a veiled warning to China.

Our Morning Update and Evening Update newsletters are written by Globe editors, giving you a concise summary of the day’s most important headlines. Sign up today.