President-elect Donald Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE said Saturday evening that China should keep the U.S. Navy drone that it seized, just hours after Chinese officials said they would return it to the U.S.

“We should tell China that we don’t want the drone they stole back,” Trump tweeted. “[L]et them keep it!.”

We should tell China that we don't want the drone they stole back.- let them keep it! — Donald J. Trump (@realDonaldTrump) December 18, 2016

The tweet came hours after Trump condemned China for taking the drone and a spokesman credited the president-elect on Twitter for China returning the device.

China steals United States Navy research drone in international waters - rips it out of water and takes it to China in unprecedented act. — Donald J. Trump (@realDonaldTrump) December 17, 2016

@realdonaldtrump gets it done: "China says it will return US drone it seized https://t.co/xevxLTlIP3" — Jason Miller (@JasonMillerinDC) December 17, 2016

The Pentagon confirmed earlier Saturday that it had communicated with China and the country signaled that it would return the unmanned underwater vehicle (UUV) that it took from the South China Sea.

ADVERTISEMENT

"Through direct engagement with Chinese authorities, we have secured an understanding that the Chinese will return the UUV to the United States," Pentagon spokesman Peter Cook said in a statement.

China first took the drone from off the coast of the Philippines on Thursday.

ADVERTISEMENT

An oceanographic survey ship USNS Bowditch was set to retrieve the drone as part of routine operations when a Chinese ship dropped its own small boat in the water and seized the device.

The crew on the Bowditch signaled the Chinese ship to return the drone, but the boat sailed away without doing so.

Some have suggested that China’s initial seizure of the drone was a response to the president-elect’s phone call with Taiwan’s leader earlier this month.

Trump and Taiwanese President Tsai Ing-wen have both downplayed the significance of the conversation, but China formally protested the call, which broke with decades of U.S. protocol.

China on Saturday indicated it would return the unmanned device after confirming it was a U.S. underwater drone, while accusing the U.S. of having "unilaterally hyped" the issue.