A trio of Democratic state lawmakers on Wednesday sharply criticized Gov. Andrew Cuomo for holding a fundraiser earlier this month in the middle of the state budget talks.

The lawmakers — Sen. Alessandra Biaggi, Sen. Jessica Ramos and Assemblywoman Yuh-Line Niou — are all recently elected with support from progressive grassroots backers.

The legislators were blasting the fundraising after The New York Times earlier Wednesday detailed the fundraiser, which was first reported by The New York Post.

“Talking the talk is one thing, walking the walk is another and we are asking him to walk his talk,” Niou said.

The lawmakers are pushing for a provision in the state budget that would create a system of publicly financed campaigns, which Cuomo included in his budget proposal and has said is a key issue for him in the spending plan.

Assembly Speaker Carl Heastie has said his members have concerns with the proposal and how races in the era of super PACs would be impacted.

Nevertheless, the lawmakers said the governor should be taking a bigger leadership role on the issue.

“A $25,000 ticket is completely outrageous for many reasons, but most importantly during the budget process is egregious,” Biaggi said.

Holding fundraisers during the budget talks is not unusual and lawmakers themselves hold them in Albany after government work is finished for the day.

“These hypocrites should practice what they preach and take a look in the mirror,” said Rich Azzopardi, a senior adviser to Cuomo. “They and their colleagues hold fund-raisers daily, a hop skip and jump from the Capitol.”

In a follow-up tweet, Azzopardi wondered whether Senate Majority Leader Andrea Stewart-Cousins and Heastie would move toward a ban on fundraising during the budget season “or are these three full of baloney?.”

The good-government organization NYPIRG tracked more than 100 fundraisers lawmakers were holding during the first three months of the legislative session, including Ramos and the fundraising arm of the Assembly Democrats.

“I’m not here to comment on my colleagues,” Biaggi said. “I’m here to comment on this article as it relates to this governor at this moment in time.”

The legislators held the impromptu news conference with the budget due to pass by Sunday, potentially inflaming delicate negotiations over the spending plan that by all accounts had been preceding well.

“Good government starts with good electoral politics,” Ramos said. “We want public financing and we want it now.”