Uncle Sam will help Massachusetts pay for last winter's Snowmageddon fallout.

Massachusetts is set to receive $120 million in FEMA disaster relief to help pay storm-related costs, Gov. Charlie Baker announced Wednesday. Roughly half the money will go to non-profits and state agencies and half to municipalities, Baker said.

The announcement makes the record-breaking snowfall this year “the Commonwealth’s largest public assistance disaster in history,” Baker said in a news release.

RELATED: Requiem for a snow bank: the Seaport snow farm is no longer

“I’m proud that Massachusetts is securing this critical budgetary relief as a result of last winter’s damages, especially for our impacted cities and towns,” Baker said in a statement.

The Federal Emergency Management Agency has spent about $24 million of that amount so far, with $2.8 million of it supporting contracted snow removal costs.

"In Boston, we have learned lessons from the challenges of last year's historic amount of snow and worked to take every step to prepare for this year," said Mayor Marty Walsh. "However, we know that's only possible when we work together, and I am grateful for FEMA and the Baker Administration for helping to secure this critical reimbursement funding as we prepare for another winter in Boston."