The New Jersey Senate gave final legislative approval on Monday to a bill that will grant workers the right to take family leave for up to six weeks while drawing most of their pay.

The bill, S-786/A-873, was passed by a largely partisan vote of 21-15. The state Assembly had approved it on March 13 by a vote of 46-30-2, also along party lines.