(CNN) Former House Speaker Newt Gingrich in an interview that aired Sunday compared President Barack Obama's legacy to a deflating doll and argued Obama is in a "desperate frenzy" to save it.

"His legacy is like one of those dolls that, as the air comes out of it, shrinks and shrinks and shrinks," Gingrich told Chris Wallace on "Fox News Sunday." "He's in this desperate frenzy."

Gingrich, a vice chairman of President-elect Donald Trump's transition team, made the comments as he pointed to executive actions Obama has taken just weeks before he surrenders the presidency to Trump.

The Obama administration last week nixed regulations that could have been used to reboot the George W. Bush administration's program known as NSEERS, the National Security Entry-Exit Registration System, which required men under 25 from many Muslim-majority countries to register with US immigration authorities. Trump called for banning foreign Muslims from the US during his campaign.

Obama also took action to ban offshore drilling in areas of the Arctic and Atlantic oceans indefinitely citing environmental reasons, a move aimed at making it more difficult for Trump to undo his legacy of progress on climate change issues.

Read More