CNN's Matt Rivers speaks to Taiwan FM Joseph Wu.
CNN
CNN's Matt Rivers speaks to Taiwan FM Joseph Wu.
Now playing
02:34
Foreign minister: Taiwan vulnerable without US
CNN
Now playing
02:03
Trade war could hit farmers twice
BEIJING, CHINA - NOVEMBER 9:  Chinese President Xi Jinping and U.S. President Donald Trump attend a welcoming ceremony November 9, 2017 in Beijing, China. Trump is on a 10-day trip to Asia.  (Photo by Thomas Peter-Pool/Getty Images)
Pool/Getty Images AsiaPac/Getty Images
BEIJING, CHINA - NOVEMBER 9: Chinese President Xi Jinping and U.S. President Donald Trump attend a welcoming ceremony November 9, 2017 in Beijing, China. Trump is on a 10-day trip to Asia. (Photo by Thomas Peter-Pool/Getty Images)
Now playing
05:18
How will tariffs affect US, China trading?
ROCKTON, IL - OCTOBER 9:  John Shedd, 85, loads a container with Bt-corn harvested from his son's farm October 9, 2003 near Rockton, Illinois. Shedd and his son farm 800 acres of the corn on farms in Illinois and Wisconsin. Bt-corn is a GMO (genetically modified organism) crop that offers growers an alternative to spraying an insecticide for control of European and southwestern corn borer. The Shedds sell the corn for use in ethanol.  (Photo by Scott Olson/Getty Images)
Scott Olson/Getty Images
ROCKTON, IL - OCTOBER 9: John Shedd, 85, loads a container with Bt-corn harvested from his son's farm October 9, 2003 near Rockton, Illinois. Shedd and his son farm 800 acres of the corn on farms in Illinois and Wisconsin. Bt-corn is a GMO (genetically modified organism) crop that offers growers an alternative to spraying an insecticide for control of European and southwestern corn borer. The Shedds sell the corn for use in ethanol. (Photo by Scott Olson/Getty Images)
Now playing
01:54
China is hitting the US where it hurts: Soybeans
A reach stacker transports a shipping container in a terminal at the Yangshan Deep Water Port in Shanghai, China, on Friday, March 23, 2018. The trade conflict between China and the U.S. escalated, with Beijing announcing its first retaliation against metals levies hours after President Donald Trump outlined fresh tariffs on $50 billion of Chinese imports and pledged there's more on the way. Photographer: Qilai Shen/Bloomberg via Getty Images
Bloomberg/Getty Images
A reach stacker transports a shipping container in a terminal at the Yangshan Deep Water Port in Shanghai, China, on Friday, March 23, 2018. The trade conflict between China and the U.S. escalated, with Beijing announcing its first retaliation against metals levies hours after President Donald Trump outlined fresh tariffs on $50 billion of Chinese imports and pledged there's more on the way. Photographer: Qilai Shen/Bloomberg via Getty Images
Now playing
01:53
Trump threatens tariffs on more Chinese goods
trump rose garden
CNN
trump rose garden
Now playing
01:57
Trump on Xi Jinping: He's for China, I'm for us
WASHINGTON, DC - APRIL 30:  (CHINA OUT, SOUTH KOREA OUT) U.S. President Donald Trump speaks during a joint press conference with Nigerian President Muhammadu Buhari at the Rose Garden at the White House April 30, 2018 in Washington, DC. The two leaders also met in the Oval Office to discuss a range of bilateral issues earlier in the day.  (Photo by The Asahi Shimbun via Getty Images)
he Asahi Shimbun via Getty Images
WASHINGTON, DC - APRIL 30: (CHINA OUT, SOUTH KOREA OUT) U.S. President Donald Trump speaks during a joint press conference with Nigerian President Muhammadu Buhari at the Rose Garden at the White House April 30, 2018 in Washington, DC. The two leaders also met in the Oval Office to discuss a range of bilateral issues earlier in the day. (Photo by The Asahi Shimbun via Getty Images)
Now playing
01:53
WaPo: Trump caves on China demands
TOPSHOT - A vendor picks up a 100 yuan note above a newspaper featuring a photo of US president-elect Donald Trump, at a news stand in Beijing on November 10, 2016.
The world's second-largest economy is US president-elect Donald Trump's designated bogeyman, threatening it on the campaign trail with tariffs for stealing American jobs, but analysts say US protectionism could create opportunities for Beijing. / AFP / GREG BAKER        (Photo credit should read GREG BAKER/AFP/Getty Images)
GREG BAKER/AFP/AFP/Getty Images
TOPSHOT - A vendor picks up a 100 yuan note above a newspaper featuring a photo of US president-elect Donald Trump, at a news stand in Beijing on November 10, 2016. The world's second-largest economy is US president-elect Donald Trump's designated bogeyman, threatening it on the campaign trail with tariffs for stealing American jobs, but analysts say US protectionism could create opportunities for Beijing. / AFP / GREG BAKER (Photo credit should read GREG BAKER/AFP/Getty Images)
Now playing
01:48
US trade with China, explained
China's President Xi Jinping (L) and US President Donald Trump attend a welcome ceremony at the Great Hall of the People in Beijing on November 9, 2017.  / AFP PHOTO / FRED DUFOUR        (Photo credit should read FRED DUFOUR/AFP/Getty Images)
FRED DUFOUR/AFP/Getty Images
China's President Xi Jinping (L) and US President Donald Trump attend a welcome ceremony at the Great Hall of the People in Beijing on November 9, 2017. / AFP PHOTO / FRED DUFOUR (Photo credit should read FRED DUFOUR/AFP/Getty Images)
Now playing
02:16
Trump to help Chinese phonemaker after ban
President Donald Trump speaks during a cabinet meeting at the White House, Monday, April 9, 2018, in Washington. (AP Photo/Evan Vucci)
Evan Vucci/AP
President Donald Trump speaks during a cabinet meeting at the White House, Monday, April 9, 2018, in Washington. (AP Photo/Evan Vucci)
Now playing
02:14
Trump: China taking advantage of US for years
pool
Now playing
01:11
Trump threatens China with new tariff plan
POOL
Now playing
01:13
Trump on trade: Nothing is easy
US President Donald Trump (L) and China's President Xi Jinping leave a business leaders event at the Great Hall of the People in Beijing on November 9, 2017.
Donald Trump urged Chinese leader Xi Jinping to work "hard" and act fast to help resolve the North Korean nuclear crisis, during their meeting in Beijing on November 9, warning that "time is quickly running out". / AFP PHOTO / Nicolas ASFOURI        (Photo credit should read NICOLAS ASFOURI/AFP/Getty Images)
NICOLAS ASFOURI/AFP/AFP/Getty Images
US President Donald Trump (L) and China's President Xi Jinping leave a business leaders event at the Great Hall of the People in Beijing on November 9, 2017. Donald Trump urged Chinese leader Xi Jinping to work "hard" and act fast to help resolve the North Korean nuclear crisis, during their meeting in Beijing on November 9, warning that "time is quickly running out". / AFP PHOTO / Nicolas ASFOURI (Photo credit should read NICOLAS ASFOURI/AFP/Getty Images)
Now playing
02:15
China responds to Trump's security speech
Now playing
00:57
Watch Trump's stunning U-turns on key issues
trump one china policy river cnn lok_00000000.jpg
trump one china policy river cnn lok_00000000.jpg
Now playing
02:32
China warns Trump with nuclear bomber flyover
TAIPEI, TAIWAN - JANUARY 14:  Honor guards raise the Taiwan flag in the Chiang Kai-shek Memorial Hall square ahead of the Taiwanese presidential election on January 14, 2016 in Taipei, Taiwan. Voters in Taiwan are set to elect Tsai Ing-wen, the chairwoman of the opposition Democratic Progressive Party, to become the island's first female leader.  (Photo by Ulet Ifansasti/Getty Images)
Ulet Ifansasti/Getty Images AsiaPac/Getty Images
TAIPEI, TAIWAN - JANUARY 14: Honor guards raise the Taiwan flag in the Chiang Kai-shek Memorial Hall square ahead of the Taiwanese presidential election on January 14, 2016 in Taipei, Taiwan. Voters in Taiwan are set to elect Tsai Ing-wen, the chairwoman of the opposition Democratic Progressive Party, to become the island's first female leader. (Photo by Ulet Ifansasti/Getty Images)
Now playing
02:52
Taiwan lawmaker on Trump's 'One China' remarks
(CNN) —  

Taiwan has lost another diplomatic ally to China, its third in a matter of months, after El Salvador announced it would sever ties with the island and switch its allegiance to Beijing.

The governments in Taipei, Beijing and San Salvador all confirmed the development Tuesday, just days after Taiwan President Tsai Ing-wen visited Central and South America to cement ties with the island’s remaining allies.

The loss of the Central American country reduces the number of Taipei’s formal diplomatic allies to just 17. Both Burkina Faso and the Dominican Republic cut ties with Taiwan in May.

Chinese Foreign Minister Wang Yi met with his Salvadoran counterpart in Beijing on Tuesday morning and signed a joint communique to establish formal diplomatic relations.

El Salvador's Foreign Minister Carlos Castaneda (L) shakes hands with China's Foreign Minister Wang Yi in Beijing on August 21.
WANG ZHAO/AFP/Getty Images
El Salvador's Foreign Minister Carlos Castaneda (L) shakes hands with China's Foreign Minister Wang Yi in Beijing on August 21.

At an emergency press conference in Taipei earlier the same day, Taiwan Foreign Minister Joseph Wu expressed “regret” over the situation and took a swipe at China for engaging in “dollar diplomacy.”

Wu claimed the change came after Taiwan declined repeated requests from El Salvador to fund a large infrastructure project and the struggling ruling party’s election campaign.

In a televised speech Monday, Salvadoran President Salvador Sanchez Ceren called the decision “a step in the right direction, corresponding to the principles of international law, international relations and the unavoidable tendencies of our time.”

Diplomatic rivalry

The Chinese government views Taiwan as the most sensitive issue in its relations with other nations.

China’s Communist leadership refuses to maintain diplomatic ties with any country that recognizes the self-governed and democratic Taiwan, an island of 23 million people off China’s southeastern coast that Beijing considers an integral part of its territory.

The two sides split in 1949 following the Communist victory on the Chinese mainland after a bloody civil war. Since then, Beijing and Taipei have a history of rivalry in their efforts to gain economic opportunities and diplomatic support from governments around the world.

Following Tsai’s rise to power in 2016, tensions have risen between the two governments. Beijing has hardened its stance due to concerns over strong pro-independence sentiment within Taiwan’s ruling party.

The Chinese military has increased drills around the island while Beijing has repeatedly warned Washington over growing closeness with Taipei under US President Donald Trump.

The Beijing government has also worked to squeeze Taipei out of gatherings of international groups, such as the World Health Organization, and ramped up pressure on global companies to drop references to Taiwan as an independent entity – targeting the world’s biggest airlines, hotels and retailers alike.

Dwindling allies

Despite Taiwan’s dwindling number of formal allies globally – with the remaining 17 mostly small and poor countries in the Pacific and the Caribbean – the government in Taipei is not preparing for the prospect of not having any diplomatic partners.

“Some countries (that switched diplomatic allegiance to Beijing) are coming back to us and saying they didn’t get what China promised, they didn’t get what China promised financially and they’re not getting what China promised politically,” Taiwan Foreign Minister Wu told CNN in an interview last month.

The most symbolic country that still recognizes Taipei over Beijing is the Vatican, the tiny nation home to the leadership of the Catholic Church.

Since the beginning of this year, rumors have leaked out suggesting the Holy See might be close to a decision of establishing diplomatic relations with Beijing in favor of Taipei, but Wu said Taiwan still hoped the Vatican could remain its ally for the long term.

“We stay in very close contact with Vatican officials, telling them what they want is to allow freedom of religion to prevail in mainland China, and Taiwan has been serving as a beacon in that aspect,” he said.

“Therefore maintaining good relations with Taiwan is the key to have Taiwan as an example to the Chinese people, especially Chinese Catholics, that they can have freedom of religion one day.”

CNN’s Natalie Gallon contributed to this report.