NEW YORK, NY - AUGUST 08: Kiki Valentine breastfeeds her 9-week-old son, Hart Valentine, on the steps of City Hall during a ralley to support breastfeeding in public on August 8, 2014 in New York City. The event was organized by the New York City Breastfeeding Leadership Council, which advocates for the social acceptance of allowing women to breastfeed in public. (Photo by Andrew Burton/Getty Images)

Good news for moms breastfeeding in New York: You don’t have to worry about jury duty. According to a statement, with a doctor’s note, breastfeeding moms don’t have to worry about jury duty for two years.

The bill was just signed by Governor Andrew Cuomo, and he explains, “While jury service is a critically important civic duty, we also know new moms oftentimes juggle countless responsibilities and navigate enormous adjustments in the early stages of their child’s life. This commonsense measure takes that reality into account by providing new moms the flexibility and option to postpone jury service while they care for a newborn.”

He also adds, “We will not stop fighting to make sure women’s rights are protected, and attain true gender equality once and for all.”

This legislation goes into effect immediately.