President Donald Trump on Tuesday falsely attributed the release of detainees at Guantanamo Bay to his predecessor Barack Obama. However, it was actually former President George W. Bush who released the vast majority of them.

Continuing his habit of early-morning tweets while watching cable news, Trump, apparently responding to a Fox News segment, blamed Obama for freeing “122 vicious prisoners” from the U.S. military detention facility who went on to engage in terrorism.

122 vicious prisoners, released by the Obama Administration from Gitmo, have returned to the battlefield. Just another terrible decision! — Donald J. Trump (@realDonaldTrump) March 7, 2017

Unlike Trump, the Fox News segment did not attribute that number to his predecessor, only reporting that a former detainee killed in a U.S. airstrike on Yemen this month was released by Obama in 2009, the Pentagon announced Monday.

Experts including Miami Herald journalist Carol Rosenberg, who has reported on Guantanamo for years, immediately debunked the tweet, noting that it was actually Bush who released nearly all of the 122 detainees. Obama released only nine of them, according to September U.S. intelligence reports.

Wrong POTUS, @realDonaldTrump. Your intel agencies report shows Bush released 113 of the 122 re-engagers from Gitmo. https://t.co/AvYSHDspfl pic.twitter.com/YZOVOrJS3O — Carol Rosenberg (@carolrosenberg) March 7, 2017

Wrong! 113 were released by Bush, only 9 by Obama, according to US Director of Naitonal Intelligence. https://t.co/oL1SfYSd9P https://t.co/NwKVYQ2qEa — Kenneth Roth (@KenRoth) March 7, 2017