In a debate that featured heated exchanges and barbs, including one in which Vermont Sen. Bernie Sanders snapped to be allowed time to talk, former Secretary of State Hillary Clinton and her rival White House hopeful faced off in a seventh Democratic debate Sunday in Flint, Michigan. A quick look at Twitter and viewer polls seemed to show that many users thought Sanders won the debate, but both candidates experienced triumphs and stumbles along the way.

Since perhaps no clear winner emerged, a perceived tie would likely benefit Clinton, who already leads by a large margin in the delegate count and is ahead in the polls. Sanders likely would need to change the political conversation and steer away from his campaign's typical talking points to make headway.

Vote now: Who won the 7th Democratic debate? https://t.co/bnc8Wrdy40 — TIME.com (@TIME) March 7, 2016

Not sure who "won" that debate. All I know is Bernie needs to start winning debates & delegates outright. Wouldn't say he did that tonight. — Brian J. Manzullo (@BrianManzullo) March 7, 2016

Clinton and Sanders took to the stage Sunday night at Whiting Auditorium knowing that next Tuesday a significant number of delegates were up for grabs in the Michigan and Mississippi presidential primaries. Numbers from Twitter indicated that Sanders had dominated the conversation on social media, drawing more conversation than his competitor by a margin of 55 percent to 45 percent. Chris Cillizza at the Washington Post, however, felt Clinton won, saying Sanders had a few hiccups that may have cost him while the former secretary of state did not lose any ground.

The CNN debate, hosted by Anderson Cooper, was expected to center around the Flint water crisis. A coalition of environmental and racial justice groups called on the Democratic National Committee to make environmental racism the focus of the debate, along the way collecting more than 80,000 petition signatures.

The beginning of the debate was indeed largely focused on the crisis, with each candidate discussing how they would work to fix the issues that have left Flint with lead-contaminated water. Sanders said that after meeting with residents, "what I saw literally shattered me." Clinton, meanwhile, said money had to be sent to the city. "I know the state of Michigan has a rainy day fund for emergencies. What is more important than the health and well-being of the people, particularly children?" she said. "It is raining lead in Flint, and the state is derelict in not coming forward with the money that is required."

Photo: REUTERS/Jim Young

Sanders and Clinton put the blame on local leaders for bungling the crisis and causing harm to the citizens of Flint. The Vermont senator said he would fire anyone responsible, while Clinton added that the country needs to improve infrastructure nationwide. Both candidates suggested they would be open to firing the head of the Environmental Protection Agency should that person be found responsible for allowing the crisis to happen.

One of the most contentious moments of the debate came after discussions on the water crisis in Flint, when Clinton challenged Sanders for not voting for a bailout that aided the auto industry, which largely calls Michigan its home. Sanders countered that he was not satisfied how it would have helped workers and that it aided Wall Street. But the exchanges resulted in one of the most contentious moments of the Democratic campaign that has featured less charged rhetoric than the Republican race. Clinton attempted to cut in to make a point and Sanders responded sharply, "Excuse me, I'm talking."

Some on Twitter pointed toward this moment as a bonus for Clinton, saying it may have made women "cringe" and that it was an effective challenge from the former secretary of state.

"Excuse me I'm talking" ... every woman in America cringed at that one — Michael Cohen (@speechboy71) March 7, 2016

I hadn’t previously heard Clinton hit Sanders that hard for not voting for the auto bailout; he gave her that opening. — Jamil Smith (@JamilSmith) March 7, 2016

While addressing jobs being sent overseas, Clinton said incentives needed to be created to keep manufacturers in the U.S. Sanders hit back hard, saying to applause, "I am very glad, Anderson, that secretary Clinton discovered religion on this issue but it's a little bit too late. Secretary Clinton supported virtually every one of the disastrous trade agreements written by corporate America."

"I am very glad, Anderson, that Sec Clinton has discovered religion on this issue" — there's Sanders' long-expected ramp-up in trade attacks — Gabriel Debenedetti (@gdebenedetti) March 7, 2016

Clinton and Sanders further debated gun control. Both candidates said Congress had not gone far enough. Some pundits pointed out that Sanders' record did not reflect well on gun control. Sanders defended his positions but did not go as far as saying manufacturers should be held responsible for mass shootings.

Who is more garbled and confused: — Nicholas Thompson (@nxthompson) March 7, 2016

Clinton notes the Brady Bill's effectiveness, closing the Charleston loophole -- both of which Sanders voted against. — Jamil Smith (@JamilSmith) March 7, 2016

when ur opponent has a shaky record on gun control & also u have a cold #DemDebate pic.twitter.com/570qZmbWRp — Erin Gloria Ryan (@morninggloria) March 7, 2016

The debate, held in a city that is largely African-American, later shifted to race relations, and CNN's Don Lemon asked each candidate what they would identify as their "racial blind spots." Clinton said she has not had experiences that much of the audience had gone through. Sanders while answering the question said, "When you're white, you don't know what it's like to be living in a ghetto," which led many to point out people of all races live in bad neighborhoods.

“...living in the ghetto” is a phrase that Bernie Sanders’ team should tell him to no longer use. White guy to white guy advice. #DemDebate — Michael Skolnik (@MichaelSkolnik) March 7, 2016

Oh. Interesting how Sanders defines the black experience as living in the ghetto — roxane gay (@rgay) March 7, 2016

Besides Bernie's comment about "living in the ghetto," I thought his answer re: white privilege was solid. #DemDebate — deray mckesson (@deray) March 7, 2016

On the issue of climate change and fracking, Clinton provided a long response listing the conditions that would have to be met for fracking to be carried out. Sanders earned large applause for simply countering that he would not support fracking.

Clinton lists several conditions to be met before she'd be okay with fracking. Sanders outright says "no" he doesn't support it #DemDebate — Daily Intelligencer (@intelligencer) March 7, 2016

Sanders, in contrast to Clinton, categorically opposes fracking — John Harwood (@JohnJHarwood) March 7, 2016

Perhaps one of the biggest moments of applause during the night was when Clinton referenced the Republican debates, which have often turned raucous, saying she and Sanders had been more civil in their debates. “You know we have our differences, and we get into vigorous debate on issues,” Clinton said. “But compare the substance of this debate with what you saw on the Republican stage last week.” Sanders in response made a joke about mental health, which some commented may have been insensitive or a curious choice.

maybe making a joke about mental health not the best way to say you care about mental health *shrug* https://t.co/mupsl38Wvc — Peter Nickeas (@PeterNickeas) March 7, 2016

So now jokes about the country's mental health crisis are funny, as long as you're making them at the expense of Republicans. — Matt Bai (@mattbai) March 7, 2016

When asked about religion, both candidates said faith mattered to them, Sanders discussing his Jewish roots and experiences with the Holocaust. Clinton, meanwhile, said she was a prayerful person and that even if she wasn't, being in the White House would have turned her into one.

"My father's family was wiped out by Hitler in the Holocaust. I know about what crazy & radical & extremist politics mean"- @BernieSanders — Intl. Business Times (@IBTimes) March 7, 2016

In their closing statements the candidates reiterated points that were made throughout the debate. Sanders said the city of Flint failed its citizens, while Clinton said systemic racism had to be stopped in the U.S.

Heading into the debate Sunday, Sanders won caucuses in Nebraska and Kansas on Saturday, while Clinton took a primary in Louisiana. Still, after Saturday Clinton held a delegat lead over Sanders, 1,121 to 481, largely because to the former secretary of state's commanding lead in superdelegates, who can shift their vote. As the debate played out Sunday, Sanders was called as the winner in Maine's caucus, a contest worth 30 delegates (25 delegates and five superdelegates).

As the cycle has progressed, Clinton has seemingly turned her attention toward a more national, general election focus. The RealClearPolitics average of polls has Clinton at a nine-point lead over Sanders nationally and leading GOP front-runner Donald Trump in most matchups, but behind Republican candidate Ted Cruz, who has recently tightened the gap behind Trump.