Donald Trump has reaffirmed America's long-standing "one China" policy in a phone call with Chinese President Xi Jinping, potentially alleviating concerns about a major shift in Washington's relations with Beijing.

The White House and China's state broadcaster CCTV said the two spoke at length by phone on Thursday evening.

The two leaders discussed numerous topics and Trump agreed "at the request of President Xi" to honor the "one China" policy that requires Washington to maintain only unofficial ties with China's rival Taiwan, the White House said.

CCTV reported that Xi "praised" Trump's affirmation and said China was willing to work with the U.S. to enhance ties and bring "more fruitful gains for the benefit of our two peoples and those in every country."

The White House described the call as "extremely cordial" and said the two leaders had invited each other to visit their respective countries and looked forward to further discussions.

Some had questioned why Trump had taken so long to call Xi given that he'd already spoken with more than a dozen world leaders. Chinese observers had also noted that Trump had broken with his predecessors in not extending good wishes to the Chinese people on the occasion of last month's Lunar New Year holiday, prior to the issuing of a belated greeting on Wednesday.

Trump has accused Beijing of unfair trade practices, criticized China's military buildup in the South China Sea and said Beijing is doing too little to pressure North Korea over its nuclear and missile programs.

China claims Taiwan as its own territory and complained after Trump upset decades of diplomatic precedent by talking by phone with Taiwanese President Tsai Ing-wen shortly after winning November's presidential election.

In December, Trump said in an interview that he didn't feel "bound" by the decades-old one China policy unless the U.S. could gain concessions from China in trade and other areas. Washington has robust unofficial relations with the island and provides it with arms to guard against Beijing's threat to use force to reunify with it.

The controversial orders Donald Trump has already issued Show all 9 1 /9 The controversial orders Donald Trump has already issued The controversial orders Donald Trump has already issued Trump and the media White House Press Secretary Sean Spicer takes questions during the daily press briefing Getty Images The controversial orders Donald Trump has already issued Trump and the Trans-Pacific Partnership Union leaders applaud US President Donald Trump for signing an executive order withdrawing the US from the Trans-Pacific Partnership negotiations during a meeting in the Roosevelt Room of the White House in Washington DC. Mr Trump issued a presidential memorandum in January announcing that the US would withdraw from the trade deal Getty The controversial orders Donald Trump has already issued Trump and the Mexico wall A US Border Patrol vehicle sits waiting for illegal immigrants at a fence opening near the US-Mexico border near McAllen, Texas. The number of incoming immigrants has surged ahead of the upcoming Presidential inauguration of Donald Trump, who has pledged to build a wall along the US-Mexico border. A signature campaign promise, Mr Trump outlined his intention to build a border wall on the US-Mexico border days after taking office Getty Images The controversial orders Donald Trump has already issued Trump and abortion US President Donald Trump signs an executive order as Chief of Staff Reince Priebus looks on in the Oval Office of the White House. Mr Trump reinstated a ban on American financial aide being granted to non-governmental organizations that provide abortion counseling, provide abortion referrals, or advocate for abortion access outside of the United States Getty Images The controversial orders Donald Trump has already issued Trump and the Dakota Access pipeline Opponents of the Keystone XL and Dakota Access pipelines hold a rally as they protest US President Donald Trump's executive orders advancing their construction, at Columbus Circle in New York. US President Donald Trump signed executive orders reviving the construction of two controversial oil pipelines, but said the projects would be subject to renegotiation Getty Images The controversial orders Donald Trump has already issued Trump and 'Obamacare' Nancy Pelosi who is the minority leader of the House of Representatives speaks beside House Democrats at an event to protect the Affordable Care Act in Los Angeles, California. US President Donald Trump's effort to make good on his campaign promise to repeal and replace the healthcare law failed when Republicans failed to get enough votes. Mr Trump has promised to revisit the matter Getty Images The controversial orders Donald Trump has already issued Donald Trump and 'sanctuary cities' US President Donald Trump signed an executive order in January threatening to pull funding for so-called "sanctuary cities" if they do not comply with federal immigration law AP The controversial orders Donald Trump has already issued Trump and the travel ban US President Donald Trump has attempted twice to restrict travel into the United States from several predominantly Muslim countries. The first attempt, in February, was met with swift opposition from protesters who flocked to airports around the country. That travel ban was later blocked by the Ninth Circuit Court of Appeals. The second ban was blocked by a federal judge a day before it was scheduled to be implemented in mid-March SANDY HUFFAKER/AFP/Getty Images The controversial orders Donald Trump has already issued Trump and climate change US President Donald Trump sought to dismantle several of his predecessor's actions on climate change in March. His order instructed the Environmental Protection Agency to reevaluate the Clean Power Plan, which would cap power plant emissions Shannon Stapleton/Reuters

Underscoring uncertainty in the relationship, the call between the leaders came as the U.S. Pacific Command reported a Chinese aircraft and a U.S. Navy patrol plane had an "unsafe" encounter over the South China Sea this week.

Pacific Command spokesman Robert Shuford said Friday that the "interaction" between a Chinese KJ-200 early warning aircraft and a U.S. Navy P-3C plane took place on Wednesday in international airspace. He did not say what was unsafe about the encounter.

Shuford says the U.S. plane was on a routine mission and operating according to international law.

The Chinese defense ministry has not responded to a faxed request for comment.

China routinely complains about U.S. military surveillance missions close to its southern island province of Hainan, which is home to numerous sensitive military installations.

A collision between a U.S. EP-3 surveillance plane and a Chinese naval air force jet in April 2001 resulted in the death of the Chinese pilot and the 10-day detention of the U.S. air crew by China.

Here are some of the major developments in U.S.-Sino relations since Trump won the U.S. presidential election in November:

Dec 2 - Trump speaks by phone with President Tsai Ing-wen of Taiwan, a move that is likely to infuriate China, which considers the self-ruled island its own, and complicate U.S. relations with Beijing. China lodges swift protest, blaming Taiwan for the petty move.

Dec 11 - Trump says the United States did not necessarily have to stick to its long-standing position that Taiwan is part of "one China," questioning nearly four decades of U.S. policy.

Dec 12 - China expresses "serious concern" after Trump said the United States did not necessarily have to stick to its long-held stance that Taiwan is part of "one China".

Dec 14 - In a veiled warning to Trump, China's ambassador to the United States says Beijing will never bargain with Washington over issues involving its national sovereignty or territorial integrity.

Jan 11 - Taiwan scrambles jets and navy ships after a group of Chinese warships, led by its sole aircraft carrier, sailed through the Taiwan Strait, the latest sign of heightened tension between Beijing and the island.

Jan 12 - Trump's then nominee for secretary of state, Rex Tillerson, says China should be denied access to islands it has built in the contested South China Sea, describing the placing of military assets there as "akin to Russia's taking Crimea" from Ukraine.

Feb 3 - China's top diplomat, Yang Jiechi, tells Michael Flynn, Trump's National Security Advisor, that China hopes it can work with the United States to manage and control disputes and sensitive problems.

Feb 9 - Trump breaks the ice with Xi in a letter that says he looks forward to working with him to develop relations.