In the new fight between President Trump and former President Barack Obama over who did the most for the economy, Gallup has an answer: Trump.

A solid majority said that Trump “deserves" credit for the "improvement in the state of the economy in the past few years.”

The survey found that 62% give Trump credit. Some 51% said Obama deserves credit.

With polls over the last two months showing a surge in support for Trump’s handling of the economy and a general good feeling regarding the financial situation of the nation, the president has been talking up the nation’s economic health.

But that was challenged this week when Obama tweeted that the economic boost started when he took steps to fix the banking and auto scare he inherited.

Eleven years ago today, near the bottom of the worst recession in generations, I signed the Recovery Act, paving the way for more than a decade of economic growth and the longest streak of job creation in American history. pic.twitter.com/BmdXrxUAUf — Barack Obama (@BarackObama) February 17, 2020

On Tuesday, he tweeted, "Eleven years ago today, near the bottom of the worst recession in generations, I signed the Recovery Act, paving the way for more than a decade of economic growth and the longest streak of job creation in American history." The Democrat included a picture of his signature on the 2009 stimulus package.

Trump responded: “Did you hear the latest con job? President Obama is now trying to take credit for the Economic Boom taking place under the Trump Administration. He had the WEAKEST recovery since the Great Depression, despite Zero Fed Rate & MASSIVE quantitative easing. NOW, best jobs numbers ever. Had to rebuild our military, which was totally depleted. Fed Rate UP, taxes and regulations WAY DOWN. If Dems won in 2016, the USA would be in big economic (Depression?) & military trouble right now. THE BEST IS YET TO COME. KEEP AMERICA GREAT!”

Did you hear the latest con job? President Obama is now trying to take credit for the Economic Boom taking place under the Trump Administration. He had the WEAKEST recovery since the Great Depression, despite Zero Fed Rate & MASSIVE quantitative easing. NOW, best jobs numbers.... — Donald J. Trump (@realDonaldTrump) February 17, 2020

Gallup found that the public is appreciative of both but credits Trump more.

In its “bottom line,” the Gallup analysis said, “If Trump asks Americans whether they are better off than before he came into office, most would say they are. Trump also gets more credit for recent economic improvements than Obama does, though majorities give both credit.”