The North Carolina General Assembly has finalized legislation implementing the voter photo identification mandate approved in a statewide referendum last month.

The Senate voted 25-7 on Thursday to accept House changes to the measure and sent it to Democratic Gov. Roy Cooper, a voter ID opponent. Republicans in charge of the legislature can override a Cooper veto if they stay united.

Senate Democrats urged GOP colleagues to delay the vote until an investigation into absentee ballot fraud in the 9th Congressional District is complete. The measure directs state election officials to set rules requiring mail-in ballot requesters to provide ID.

Thursday’s vote led about 50 protesters to sing and chant outside the House and Senate gallery in opposition. They left when police told them to quiet down or face arrest.