Este sitio web fue traducido automáticamente. Para obtener más información, por favor haz clic aquí.

When serving as governor of South Carolina in 2014, presidential GOP hopeful Nikki Haley said she considered China "a friend" and that she appreciated the "strong relationship" the Palmetto State shared with China. 

In a letter sent to then Chinese Ambassador Cui Tiankai on Dec. 30, 2014, Haley thanked the diplomat for congratulating her on her re-election and said she is "grateful" for China’s "contributions on the economic front."

Tiankai had written in his letter to Haley that China is "glad to see that the overall ties between China and South Carolina have been growing rapidly in recent years.… I look forward to continuing to work with you."

The 2014 correspondence comes to light as Haley, who’s seen a big boost in polling in recent weeks, repeatedly said on the campaign trail that China is the "No. 1 biggest national security threat." Earlier this year, Haley, who also served as U.N. ambassador under President Trump, released a comprehensive plan to combat China.

WAR OF WORDS: DESANTIS, HALEY TRADE FIRE OVER WHO WAS MORE CHINA-FRIENDLY GOVERNOR

Nikki Haley

Former Gov. Nikki Haley holds a rally in Greer, South Carolina. (Peter Zay/Anadolu Agency via Getty Images)

On the campaign trail, Haley has spotlighted that she would rescind federal funding for universities that accept money from China, take back land in the U.S. that China's already purchased, and end "all normal trade relations with" China until it stops flooding the U.S. with fentanyl.

Haley campaign spokesperson Ken Farnaso responded to the revelation, telling Fox News Digital, "Every governor in this campaign recruited Chinese businesses to their state."

"Nikki Haley did it 10 years ago. Just last year, Ron DeSantis let a U.S. sanctioned Chinese company expand its footprint in Florida. DeSantis even voted to fast-track Obama’s bad trade deals. Nikki took on the Chinese threat every day as U.N. ambassador and has called for ending normal trade relations with China," Farnaso said. 

China’s increasing threat to the United States has been escalating since at least 2010. In the same year Tiankai and Haley corresponded, the Justice Department indicted five Chinese military hackers for economic espionage directed at six Americans in the U.S. nuclear power, metals and solar products industries.

Also in 2014, two Chinese security breaches into U.S. federal worker databases holding personnel records and security-clearance files "exposed sensitive information about at least 22.1 million people," the Washington Post reported. 

BILL MAHER HYPES NIKKI HALEY AS A VIABLE ALTERNATIVE TO TRUMP: 'SHE'S HAVING A MOMENT'

Former ambassador Nikki Haley in red outfit on "Hannity"

Nikki Haley visits "Hannity" at Fox News Channel Studios on Jan. 20, 2023, in New York City. (Theo Wargo/Getty Images)

The outlet reported that U.S. officials ranked the breaches "among the most potentially damaging cyber heists in U.S. government history because of the abundant detail in the files."

China is the latest flashpoint of contention between Haley and fellow GOP presidential contender Florida Gov. Ron DeSantis. 

NIKKI HALEY WARNS BIDEN TO 'BE SMART' FOLLOWING HAMAS' RELEASE OF 2 AMERICAN HOSTAGES; 'DON'T FALL FOR IT'

Nikki Haley holding microphone at event

Nikki Haley, former ambassador to the United Nations, speaks during the Road to Majority Faith and Freedom policy conference in Washington, D.C., on June 24, 2023. (Nathan Howard/Bloomberg via Getty Images)

In a Fox News Digital interview last week, DeSantis charged that Haley "rolled out the red carpet for China" during her tenure as South Carolina governor.

CLICK HERE TO GET THE FOX NEWS APP 

Haley's campaign fired back, claiming DeSantis has "aggressively recruited Chinese companies to Florida."

Fox News Digital's Paul Steinhauser contributed tot his report.