Following a lengthy debate and grill session from Republican lawmakers, the state Assembly today passed Gov. Andrew Cuomo’s sweeping gun control legislation known as the SAFE Act 104 to 43.

The measure was debated for more than four hours, with seemingly each one of the chamber’s 150 members having a chance to voice their thoughts on the bill that updates the state’s assault weapons ban, reduces the number of bullets in a magazine and strengthens criminal penalties.

The Assembly had been expected to vote on the legislation yesterday alongside the state Senate, but leaders — possibly sensing that the debate would be lengthy as it was today — postponed the vote to today.

All told, the Assembly started its debate at 11:18 this morning and concluded just after 4 p.m.

The chamber’s Republican minority took up the bulk of the debate time, knocking the legislation for its overreach, lack of protection for the public and the governor’s message of necessity waiving the required three-day aging process for the measure.

GOP lawmakers also knocked the need for what Brooklyn Democratic Assemblyman Joe Lentol said were needed chapter amendments from Cuomo’s office in order to fix technical errors in the bill.

Despite the vocal Republican opposition, there were a handful of upstate Democrats to oppose the measure, including Robin Schimminger, Bill Magee and Dennis Gabryszak.

The debate was in contrast to the Senate, where only two Republicans spoke against the bill and ultimately 18 voted against it.

Cuomo is expected to sign the measure quickly.