WASHINGTON — No longer reluctant to speak out, former president Barack Obama delivered a closing argument for Democrats that seeks a firm check on President Trump’s policies in Tuesday’s midterm elections.
Obama and Trump offered competing visions for the country in a split screen of campaigning on Sunday, seeking to galvanize voter turnout in the fight to control Congress and governors’ mansions.
Obama rallied Democrats in Gary, Ind., on behalf of Senator Joe Donnelly, who faces a stiff challenge from Republican businessman Mike Braun. Later in the day, the former president was campaigning in his hometown of Chicago for businessman J.B. Pritzker, Democrats’ nominee for Illinois governor.
Obama has taken on a more public role this fall after refraining from offering a full-blown counterpoint to Trump’s policies, which have sought to dismantle Obama’s legacy. Without invoking his name, Obama has accused Trump of lying and ‘‘fear-mongering’’ and warned Democrats not to be distracted.
Trump has punched back, accusing Obama of leaving behind a trail of broken promises on trade, the economic recovery, and a promise during his presidency that patients could keep their doctors under his health care law.
Trump headlined a Sunday afternoon rally in Macon, Ga., and was appearing later in Chattanooga, Tenn., in support of Republican Brian Kemp, who is running for Georgia governor, and Representative Marsha Blackburn, who is seeking an open Senate seat in Tennessee.
In Gary, Obama praised Donnelly for being willing to break with his party, telling a roaring crowd at a rally in the state that ‘‘you don’t want just a yes man.’’
Donnelly has sounded more like Trump while trying to persuade voters in the conservative Midwestern state to grant him a second term. He has angered some Democrats by tacking to the right in recent weeks and embracing some of Trump’s pet priorities, such as building a border wall with Mexico.
But Obama told voters during the rally in Gary that Donnelly ‘‘tries to do right by people’’ — not just his party — and noted he supported the Affordable Care Act, the health care overhaul passed under Obama.
‘‘Joe Donnelly and I didn’t agree all the time. But Joe always let me know where he stood and I knew what he believed in and that he always was focused on: ‘What’s the best thing for the Hoosiers that he served?’ ’’ Obama said. ‘‘He was honest and he was direct. So you can count on that. That’s what you want. You don’t want just a yes man all the time.’’
Obama’s stop was sandwiched between his successor’s trips to the state Friday and Monday on behalf of GOP Senate candidate Mike Braun.
For Braun, a businessman who has campaigned as a steadfast Trump ally, the current president’s appearances in Indianapolis and Fort Wayne are no-brainers in a state he won two years ago by 19 points. But for Donnelly, who frequently touts how often he votes with Trump, the Obama rally was a little more complicated.
‘‘If he does need to inoculate himself from some of his firmer conservative rhetoric, it’s a pretty effective way to do it,’’ said Christina Hale, a former state lawmaker and the Democratic nominee for lieutenant governor in 2016.
Obama has proved a polarizing figure with independent and Republican voters and is credited with some of Indiana’s rightward political shift, even though he won the state in 2008. To win in Tuesday’s election, Donnelly not only needs high turnout from his party’s base but also must peel off some moderate Republicans and independents.
That’s why Sunday’s rally in Gary, a heavily African-American city that has more in common with the Democratic stronghold of nearby Chicago than deep-red parts of the state, could prove strategic. The northwest Indiana region supported Hillary Clinton in 2016, and driving turnout there on Tuesday will be critical for Donnelly.
Obama criticized Republicans for passing a tax bill that benefited the wealthy, and for trying to end protections for pre-existing conditions provided through the Affordable Care Act. And without mentioning Trump’s name, he told the crowd they could return the country to a kinder, less divisive kind of politics.
‘‘On Tuesday you can vote for politics that is decent and honest and lawful and tries to do right by people like Joe Donnelly does,’’ he said, adding at one point that his voice was growing hoarse from all his campaigning in recent days.
Trump was keenly aware of Obama’s visit, which he mentioned Friday during an event at an Indianapolis-area high school.
‘‘It’s no surprise that Joe Donnelly is holding a rally this weekend with Barack H. Obama,’’ Trump said as the crowd jeered. He later added: ‘‘We don’t want to go back to the Obama days.’’
As a red-state Democrat, Donnelly has had a target on his back ever since he unexpectedly defeated Republican Richard Mourdock in 2012, when the former state treasurer said a woman who gets pregnant from her rapist is carrying a ‘‘gift from God.’’
Donnelly has walked a delicate line since then, often frustrating his own party and Republicans alike with the votes he takes.
Trump was having none of it on Friday, tying Donnelly to ‘‘radical left’’ figures in the party who are widely reviled by the GOP base.
‘‘This Tuesday I need the people of Indiana to send a message to Chuck Schumer, Nancy Pelosi, Maxine Waters, and the radical Democrats by voting for Mike Braun,’’ Trump said as the crowd erupted in boos. ‘‘I’m really speaking more to the television cameras than to you because I don’t think we have too many Donnelly voters. Anybody going to vote for Donnelly in this room?’’
The boos grew even louder.
Rallying his faithful in Macon, Trump praised Kemp as a ‘‘strong man’’ and ‘‘strong personality’’ and said Kemp would become a great governor for Georgia.
The president assailed Kemp’s Democratic opponent, Stacey Abrams, as ‘‘one of the most extreme far-left politicians in the entire country.’’
The Georgia race has garnered attention from a list of high-profile backers, including Oprah Winfrey, who campaigned for Abrams last week. Abrams is attempting to become the nation’s first black female governor.
Trump said Winfrey was a friend of his until he ran for president but he is now urging Georgia voters to listen to his endorsement instead of hers.