President Trump blamed his predecessors for the U.S.’s annual trade deficit with China, reiterating statements from Wednesday that he doesn’t cast blame on China for the deficit.

“I don’t blame China, I blame the incompetence of past Admins for allowing China to take advantage of the U.S. on trade leading up to a point where the U.S. is losing $100's of billions,” Trump tweeted Thursday night. “How can you blame China for taking advantage of people that had no clue? I would've done same!”

Trump then tweeted that his meetings with Chinese President Xi Jinping were “productive on both trade and the subject of North Korea.”

Trump echoed similar sentiments at a signing ceremony with business executives in China on Thursday, local time. He noted the U.S.’s annual trade deficit with China, calling the relationship a “very one-sided and an unfair one," and criticized past administrations for not doing more to reduce the trade deficit.

"But, but, I don't blame China," Trump added. "After all, who can blame a country for being able to take advantage of another country for the benefit of its citizens? I give China great credit."

Trump's comments come after he has long griped about the U.S.-China trade dynamic, calling China a "currency manipulator" during the campaign. He also said in May 2016 that China was being allowed to "rape" the U.S. in terms of trade.

Xi said it is "natural" for his country and the U.S. to sometimes disagree but said they must work to resolve their differences, according to a press pool report.

Trump visited China as part of a nearly two-week tour through Asia. Trump is scheduled to attend an Asia-Pacific Economic Cooperation meeting in Vietnam and a meeting of the Association of Southeast Asian Nations in the Philippines during the trip.