AMHERST, Mass. — Hillary Clinton has the Massachusetts Democratic establishment. Bernie Sanders has the progressive grass roots. It’s an uneasy balance that’s reflected in the latest polls, which show a dead heat here.

On the ground, the race itself is building up to be a test of institutional clout versus grass-roots energy. Top leaders from Beacon Hill to Capitol Hill lined up behind Clinton early on, pitting them against a growing pool of Sanders supporters — many activated four years ago by the populist message of another senator: Elizabeth Warren.


“If Sanders does win in Massachusetts, one hypothesis would be that he did it in part because Elizabeth Warren, and her view that the country is now rigged against the 99 percent, prepared the Massachusetts Democrats for the Sanders message. It warmed up the Massachusetts Democrats,” said Ralph Whitehead, a longtime professor in press and politics at UMass Amherst.

A poll released last week by Public Policy Polling shows Sanders besting Clinton by 7 points. Another, released Sunday by the Emerson College Polling Society, showed Clinton and the Vermont senator dead even.

“You’re seeing people with the same passion and energy who were out banging the doors for Gov. Deval Patrick and Elizabeth Warren,” said Joe Caiazzo, Sanders’ Massachusetts spokesperson.

On Monday, eight days before the state’s March 1 primary, Sanders traveled to Western Massachusetts for a rally in Amherst after receiving the endorsement of National People’s Action, a national grass-roots organizing group.

In a speech delivered to a crowded UMass Amherst stadium, Sanders cited his efforts to combat “a rigged economy, something your Sen. Elizabeth Warren has talked a lot about.”

“Thank you all for sending Elizabeth to the Senate,” Sanders added.

Many attending the rally noted the similarities between the two senators.

“I think they’re pretty similar; they’re both trying to rein in Wall Street,” said Bob Pollin, 65, a UMass Amherst economics professor from Amherst. Pollin attended the rally with fellow economics professor Jerry Epstein from Northampton, who, like Pollin, is a Sanders and Warren supporter.

“Elizabeth Warren reflects who we are as a state, and Bernie Sanders does as well,” Pollin added.

Sarah Perrott of Amherst, an assistant manager at a local grocery store, attended with two co-workers, including Mandi Flaherty.

“They’re very much both for the people,” said Perrott, 32, who came to the rally already a Sanders supporter. She counts herself among Warren’s in-state supporters as well.

“I just feel like if and when we have a woman president we can do better than Hillary Clinton,” said Flaherty, 28, of Pembroke.

Perrott agreed. “She’s just saying what people want to hear.”

Sanders appeared at the NPA event before a crowd composed of in-state residents and many out-of-state residents. The location carried significance: The endorsement was delivered at Ironworkers Local 7 union headquarters in South Boston, which endorsed Sanders in November 2015 and has since displayed a sign commemorating the decision. Local 7 is also a union to which Rep. Stephen Lynch, a Clinton supporter, has belonged for more than 30 years.

Behind the scenes, the Clinton campaign pushes back hard against the notion that the former secretary of state’s support is mainly among party power brokers, or that it isn’t as organic as support for Sanders.

“From the beginning, Hillary Clinton has made her campaign about the families she will fight for and deliver results for as president,” said Harrell Kirstein, a Clinton campaign spokesperson. “She has listened, learned and lifted solutions for their concerns, like New England’s opioid and substance abuse epidemic, into the spotlight of her campaign here in Massachusetts. Because of this personal campaign, we are seeing support from voters across the Commonwealth, and our campaign will work hard to earn the support of every primary voter in Massachusetts.”

In December, the Clinton campaign began with a muscle-flexing exercise: It rolled out a massive show of establishment support, with 190 endorsements from elected officials across the state, ranging from all nine members of Congress to the state’s attorney general to Boston Mayor Marty Walsh, whose backing was hard-won. Many of those elected officials — including Walsh, Rep. Jim McGovern and Attorney General Maura Healey — bused their loyal supporters north to New Hampshire to campaign for Clinton in the primary.

Warren was notably missing from that list.

At the same time the Clinton campaign was locking in support among the state’s political elites, the Sanders campaign began expanding its base of support to open five campaign offices throughout the state by early February — while also pouring cash into Boston’s TV advertising market, which reaches southern New Hampshire.

Not to be outdone, the weekend after the New Hampshire primary, the Clinton campaign announced it was opening six offices in Massachusetts ahead of March 1.

State Sen. Jamie Eldridge, one of the few elected officials in the state backing Sanders, contends Warren’s silence on the race speaks volumes about where she stands in the election.

“I also think the fact that Sen. Warren hasn’t endorsed in the race has been a signal to progressives that she is very open and conducive to a lot of the ideas that Sen. Sanders is talking about and certainly over the last few months, she has defended some of his positions in calling out the big banks,” said Eldridge. “I think that’s why Bernie Sanders has so much support in Massachusetts.”

Warren has no plans to endorse ahead of the Massachusetts primary, according to an aide familiar with the decision.

Answering a reporter’s question following his speech, Sanders noted what is ahead in the coming days and weeks of the nomination fight.

“Much of this is a slog,” Sanders said. “We hope to win you, and we hope to win in a number of other states.”

