Officials on Thursday announced $6.25 million in state funding is on the way to the town of Amherst.

State Sen. Jeremy Zellner and Assemblymember Karen McMahon say the funding package is meant to help support local infrastructure, community facilities and recreational projects.

The biggest amount of funding is $5 million, going to the Amherst Cryogenic Plant.

Local officials say it’s a major component of its wastewater treatment infrastructure and this money will help replace and modernize some of its old equipment.

Also, $700,000 is going toward the construction of a new playground at the Northwest Amherst Community Center.

“Thank you Senator Zellner and Assemblymember McMahon for investing in Amherst. Today’s announcement ensures that we can deliver better services to residents,” Amherst Town Supervisor Shawn Lavin said in a statement. “The Town’s Water Pollution Control Facility is a regional asset, serving several communities and UB. This funding will allow us to maintain and improve this critical infrastructure and improve efficiency. The support for our popular recreational facilities will benefit not only today’s users but also future generations. The more we can be outdoors, interacting with our neighbors, the healthier we grow.”