Prisoners bow during evening prayers at the "Gitmo" detention center on October 22, 2016 at the U.S. Naval Station at Guantanamo Bay, Cuba.
John Moore/Getty Images
Prisoners bow during evening prayers at the "Gitmo" detention center on October 22, 2016 at the U.S. Naval Station at Guantanamo Bay, Cuba.
Now playing
02:35
Obama takes action before Trump takes office
Donald Trump Obama depart US Capitol vo_00001902.jpg
CNN
Donald Trump Obama depart US Capitol vo_00001902.jpg
Now playing
01:46
Trump, Obama depart inaugural ceremony
CNN
Now playing
00:45
Inaugural crowd sizes: Trump v. Obama
US President Barack Obama speaks during his farewell address in Chicago, Illinois on January 10, 2017.
Barack Obama closes the book on his presidency, with a farewell speech in Chicago that will try to lift supporters shaken by Donald Trump's shock election. / AFP / Joshua LOTT        (Photo credit should read JOSHUA LOTT/AFP/Getty Images)
JOSHUA LOTT/AFP/Getty Images
US President Barack Obama speaks during his farewell address in Chicago, Illinois on January 10, 2017. Barack Obama closes the book on his presidency, with a farewell speech in Chicago that will try to lift supporters shaken by Donald Trump's shock election. / AFP / Joshua LOTT (Photo credit should read JOSHUA LOTT/AFP/Getty Images)
Now playing
03:02
President Obama's best speech moments
pool
Now playing
02:00
President Obama leaves Oval Office
US President Barack Obama, speaks about Republican Presidential candidate Donald Trump during a news conference with Singapore's Prime Minister Lee Hsien Loong, in the East Room at the White House August 2, 2016 in Washington, DC. Later this evening President Obama will host a State Dinner for Prime Minister Loong and his wife Ho Ching.
Mark Wilson/Getty Images
US President Barack Obama, speaks about Republican Presidential candidate Donald Trump during a news conference with Singapore's Prime Minister Lee Hsien Loong, in the East Room at the White House August 2, 2016 in Washington, DC. Later this evening President Obama will host a State Dinner for Prime Minister Loong and his wife Ho Ching.
Now playing
01:09
Obama commutes federal sentences
White House Pool report
Now playing
00:45
How the Obamas spent MLK Day
Joe Biden Medal of Freedom
CNN
Joe Biden Medal of Freedom
Now playing
01:48
Biden receives Presidential Medal of Freedom
Now playing
01:09
Obama: You made me a better president
Obama tears up
CNN
Obama tears up
Now playing
02:00
Obama tears up talking about Michelle
President Obama in Chicago, January. 10, 2017.
President Obama in Chicago, January. 10, 2017.
Now playing
01:27
Obama lists US accomplishments during his term
obama laughs at his own jokes sg orig_00004321.jpg
obama laughs at his own jokes sg orig_00004321.jpg
Now playing
01:06
Watch Obama crack himself up
CNN
Now playing
02:37
2 Obama speeches: 12 years apart, similar tone
fort lauderdale airport shooting obama sot tsr_00005621.jpg
ABC
fort lauderdale airport shooting obama sot tsr_00005621.jpg
Now playing
01:16
Obama: 'Vladimir Putin is not on our team'
cnn/getty images
Now playing
03:00
Obama urges Dems to defend Obamacare legacy
WASHINGTON, DC - DECEMBER 16:  U.S. President Barack Obama answers questions during a news conference in the Brady Press Breifing Room at the White House December 16, 2016 in Washington, DC. In what could be the last press conference of his presidency, afterwards Obama will be leaving for his annual family vacation in Hawaii.  (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images
WASHINGTON, DC - DECEMBER 16: U.S. President Barack Obama answers questions during a news conference in the Brady Press Breifing Room at the White House December 16, 2016 in Washington, DC. In what could be the last press conference of his presidency, afterwards Obama will be leaving for his annual family vacation in Hawaii. (Photo by Mark Wilson/Getty Images)
Now playing
01:07
Obama designates two new national monuments
Amanda Lucidon/The White House
Now playing
00:48
The Obamas' cutest moments (2016)

Story highlights

Obama has been making moves to leave as few Gitmo prisoners as possible

Earlier Tuesday, Trump revived the hot-button topic of Guantanamo on Twitter

Washington CNN —  

President Barack Obama plans to transfer additional detainees from Guantanamo Bay, the White House said Tuesday, hours after President-elect Donald Trump warned against moving any more prisoners from the naval facility.

“I would expect, at this point, additional transfers to be announced,” said Josh Earnest, the White House press secretary. He characterized the moves, which come in the final weeks of Obama’s administration, as continuing the long-running effort to clear detainees from the prison.

Earlier Tuesday, Trump revived the hot-button topic of the prison facility at Guantanamo Bay, also known as Gitmo, in a Twitter message warning against further prisoner transfers before he takes office.

“There should be no further releases from Gitmo. These are extremely dangerous people and should not be allowed back onto the battlefield,” Trump tweeted Tuesday.

Earnest said Obama would not factor Trump’s tweet into his decision-making on the prison.

Trump, he said, would have “an opportunity to implement the policy that he believes will be more effective when he takes office on January 20.”

Trump’s message, consistent with his campaign promise to keep the facility open and even increase the number of detainees, came shortly after the President-elect criticized House Republicans for prioritizing a vote to gut Congress’ independent ethics panel over other important issues, causing the House GOP to back down on the change.

RELATED: Sources: Obama hurries to shrink Guantanamo ahead of Trump

“With all that Congress has to work on, do they really have to make the weakening of the Independent Ethics Watchdog, as unfair as it … may be, their number one act and priority,” Trump tweeted. “Focus on tax reform, healthcare and so many other things of far greater importance! #DTS.”

Trump particularly criticized the timing of the vote, which was scheduled for the first day of the new congressional session.

Trump’s tweet on Guantanamo also followed news last month that Obama was trying to leave as few prisoners there as possible, notifying Congress that the administration intends to transfer out some of the detainees before Trump is sworn in.

In February, Trump told supporters after watching Obama talk about the prison that he would keep it open and that “we’re going to load it up.”

While some detainees have returned to the battlefield, they are released to host countries who agree to take them. The idea is that the host country keeps an eye on those released detainees so they don’t return to terrorism, but there’s no guarantee of success.

Peter Cook, the Pentagon’s press secretary, said in response to Trump’s tweet that the department would follow the “appropriate policies” set forth by Obama.

“We’re going to carry out the appropriate policies as set forth by the commander in chief with regard to Guantanamo Bay and the secretary of defense,” Cook said at a press briefing.

The secretary of defense “is going to continue to carry out his responsibilities as appropriate until he’s finished as secretary of defense,” Cook added.

CNN’s Ross Levitt and Ryan Browne contributed to this report.