President Obama went on a "myth-busting" mission Wednesday aimed at undermining Republican arguments about the economy, working to give cover to Democrats to embrace his policies ahead of the presidential election.

Officially, Obama came to this hardscrabble town in northern Indiana to illustrate how steps he took in the first days of his presidency had ultimately paid off and pulled the economy back from the brink. Yet his rally at a high school in Elkhart blurred the lines between governing and campaigning, marking the president's most aggressive and direct foray to date into the roaring campaign to replace him.

"The primary story that Republicans have been telling about the economy is not supported by the facts. It's just not," Obama said. "They repeat it a lot, but it's not supported by the facts. But they say it anyway. Now what is that? It's because it has worked to get them votes."

When Obama came to Elkhart seven years ago on his first major presidential trip, the unemployment rate was soaring and the White House struggling to secure support for injecting hundreds of billions of federal dollars into the economy. Though the economy has improved measurably, Republicans have been reluctant to give Obama credit. As Obama returned to Indiana, GOP Gov. Mike Pence said the state had recovered in spite of Obama's policies -- not because of them.

So with all the vigor he displayed on the campaign trail years ago, Obama attempted a nearly line-by-line takedown of claims Republicans have made about how immigration, his health care overhaul and government spending have held the economy back.

"My bigger point is to bust this myth of crazy, liberal government spending," Obama said. "Government spending is not what is squeezing the middle class."

He avoided mentioning Donald Trump by name, referring instead to "the Republican nominee," but was met with shouts of "Donald's crazy" from some of the 2,000 people packed in a brightly lit gymnasium. In an oblique reference to Trump's calls for doing away with Dodd-Frank financial reforms, Obama asked incredulously how anyone could propose weakening Wall Street rules so soon after the collapse.

Obama and his aides have long signaled frustration that as the economy has improved, the public's perception of his decision-making hasn't tracked the same trajectory. The White House sees his opponents' begrudging refusal to give credit where due as a symptom of their decision early on to reflexively oppose all of his ideas.

Still, the president's approval ratings have finally improved to levels where his fellow Democrats feel comfortable running on policies, especially on the economy. Hillary Clinton has proposed steps that build directly on Obama's actions while Bernie Sanders has praised his accomplishments.

Still, it is places like Elkhart that illustrate just how stubborn opposition to the president can be -- especially in conservative stretches of the Midwest. Though Obama won Indiana in 2008 in a shocking victory, he lost the traditionally Republican state decisively four years later.

Obama said he had returned to Elkhart "precisely because this county votes Republican."

"I definitely got whooped here in 2012. I know I don't poll all that well in this county," Obama said. "So I'm not here looking for votes."