Democratic gubernatorial candidates Bob Massie and Jay Gonzalez announced dueling endorsements on Monday from different progressive groups.

Massie and Gonzalez are the two candidates left fighting for the Democratic nomination for governor after former Newton Mayor Setti Warren dropped out last week.

Both are trying to claim the mantle of "progressive" to sway the Democratic primary electorate. The winner will face Republican Gov. Charlie Baker.

Massie, who spent most of his career starting and leading organizations related to socially responsible investing and environmental issues, announced an endorsement by Our Revolution Middlesex County. Our Revolution is a liberal group founded by independent Vermont U.S. senator and former Democratic presidential candidate Bernie Sanders. This is the fourth chapter to endorse Massie. The statewide organization of Our Revolution decided not to endorse anyone, but left that decision to individual chapters.

"Since Bob is the only true progressive in the race, the choice is clear from his growing army of progressive supporters, young and old, who are on fire to defeat Governor Baker," said Our Revolution Middlesex County spokesperson Linda Pinti in a statement.

However, Progressive Democrats of Massachusetts, a 15-year-old grassroots liberal organizing group, decided to back Jay Gonzalez. Gonzalez is a former health care executive and state budget chief under former Gov. Deval Patrick. According to the group, Gonzalez was the choice of 70 percent of the organization's members.

"Through the course of his career and his campaign, Jay has demonstrated he shares the progressive values that PDM stands for," said Peter Enrich, chairman of the statewide leadership team of Progressive Democrats of Massachusetts, in a statement.

Both Gonzalez and Massie support many of the policies that liberal Democrats typically stand for. Both want to institute single payer health care, support taking steps to fight climate change, and want to raise taxes on wealthy individuals.