A new law in Massachusetts will require men and women to be paid equally for comparable work in the state.

Women are currently paid on average about 82 percent of what their male counterparts make for comparable work in Massachusetts, the Associated Press reported.

The new law goes into effect on July 1, 2018.