New labor rights for farmworkers in New York that will allow them to collect overtime and collectively bargain was signed into law on Wednesday by Gov. Andrew Cuomo.

“The farmworkers bill is not just a great achievement in terms of the effect on the human condition,” Cuomo said. “It’s also a milestone in the crusade for social justice. It truly is a moment for reflection and celebration.”

The new law also includes a day of rest requirement as well as unemployment insurance requirements.

The governor, flanked by Democratic sponsors of the bill, his daughters and ex-wife Kerry Kennedy who had been a long-time advocate for the legislation, approved the measure at The Daily News in New York City. Cuomo cited the newspaper’s advocacy for the bill, which has been staunchly opposed by agriculture industry groups.

“This is a powerful, practical achievement, even more significant in the era of President Trump who continually diminishes workers’ rights, who continually attacks labor unions, disrespects the disenfranchised and has made ‘divide and conquer’ rather than ‘unify and grow’ the credo of America,” Cuomo said. “But the farmworkers bill has additional significance.”

Cuomo also praised Kennedy’s work on the measure and inspiring their daughters to take up the cause as well.

“Kerry even enlisted our daughters, who went Albany to protest and advocate for the bill’s passage every year,” he said.

He added with a smile, “Our youngest daughter Michaela, wrote a letter to a Democratic senator who refused to support the bill even after campaigning saying she would support the bill. Not that I remember those things.”

While the legislation’s passage by the Legislature last month was hailed as a victory for farmworkers, business groups blasted the approval and the bill signing today.

Farms in upstate New York have gotten larger as their overall numbers have shrunk — a sign of consolidation in a struggling industry. Farmers, especially small operators, worry the new requirements for workers will lead to more farms going out of business or being put up for sale.

“Today’s signing of the new farm labor mandates is another blow to the upstate economy,” said Michael Kracker, the executive director of Unshackle Upstate.

“New York State has lost thousands of farms in recent years and under these new mandates, more closures and job losses are on the way. Additionally, families will pay more for farm goods at the grocery store and their local farmers market. This bill sends a message that New York is definitely not open for business.”