(PANAMA CITY) — Panama established formal diplomatic ties with China and broke with Taiwan on Monday in a major victory for Beijing that bolsters its claims of sovereignty over what it regards as a renegade island.

Panamanian President Juan Carlos Varela said in a televised address Panama was upgrading its commercial ties with China and establishing full diplomatic links with the second most important customer of its key shipping canal.

“I’m convinced that this is the correct path for our country,” Varela said.

Panama’s government said in a statement that it recognized there was only one China, with Taiwan belonging to the Asian giant, and that it was severing ties with Taipei.

“The Panamanian government is today breaking its ‘diplomatic ties’ with Taiwan, and pledges to end all relations or official contact with Taiwan,” the statement said.

China has commended Panama for its decision, Chinese state television reported.

The establishment of links with Panama is a coup for China, which has been showering largess on countries throughout Central America in recent years in an attempt to get them to break ties with Taiwan.

As recently as December, Panama’s deputy foreign minister had said he did not expect any change in Panama’s relations with Taiwan or China.

Panama is one of Taiwan’s oldest friends, but some diplomats in Beijing had speculated that the Central American country could become the next nation to break ties.

Taiwanese President Tsai Ing-wen visited Central American allies earlier this year but did not stop in Panama.

Monday’s diplomatic move could also raise questions about the future of a Chinese-backed project to build another Central American waterway to rival the Panama Canal in Nicaragua.

Earmarked at a cost of $50 billion, the Nicaraguan scheme was met with widespread incredulity when it was announced in 2013, and critics have raised questions about its feasibility.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.