China's Xi takes swipe at Trump's new 'doomed to failure' Taiwan policy in nationalistic speech

Chinese President Xi Jinping took a veiled shot at President Donald Trump on Tuesday during his nationalistic address to parliament regarding Taiwan.

Xi, speaking to nearly 3,000 members of the rubber-stamp National People’s Congress, declared that the Chinese people were “closer than at any time in history to realizing the great rejuvenation of the Chinese nation.

"In the face of national righteousness and the tide of history, all attempts or tricks aimed at dividing the motherland are doomed to failure. All will receive the condemnation of the people and the punishment of history,” he said.

The Chinese people have the will and the ability to "foil all activities to divide the nation" and are unified in their belief that "every inch of our great motherland absolutely cannot and absolutely will not be separated from China," Xi added.

"All will receive the condemnation of the people and the punishment of history."

- Chinese President Xi Jinpin

The confrontational comments came just days after Trump signed a new law allowing high-level officials visits to Taiwan – a move now condemned by Beijing at the highest levels of government.

“China is strongly opposed to that,” The Chinese foreign ministry spokesman Lu Kang said in a statement on Saturday, according to AFP. “We urge the US side to correct its mistake, stop pursuing any official ties with Taiwan or improving its current relations with Taiwan in any substantive way.”

The Taiwan Travel Act, signed by the White House on Friday after it passed through Congress, encourages visits between US and Taiwanese officials “at all levels.”

Chinese President Xi Jinping is displayed on a big screen as he delivers a speech at the closing session of the annual National People's Congress in the Great Hall of the People in Beijing, China, Tuesday, March 20, 2018. (AP Photo/Ng Han Guan)

Xi, speaking to nearly 3,000 members of the rubber-stamp National People’s Congress, declared that the Chinese people were “closer than at any time in history to realizing the great rejuvenation of the Chinese nation."  (AP Photo/Ng Han Guan)

Washington has no formal diplomatic relations with Taiwan since 1979 because of the “one China’ policy. China sees Taiwan as its territory and has expressed a desire to reunify.

Xi, who convinced parliament to scrap term limits for the president and paved a way for him to rule indefinitely, also dismissed on Tuesday any accusations that China is a threat and seeks domination.

"China's development does not pose a threat to any country," he said. "Only those who habitually threaten others will look at everyone else as threats.”

The Associated Press contributed to this report.

Lukas Mikelionis is a reporter for FoxNews.com. Follow him on Twitter @LukasMikelionis.