After more than 13 hours of debate that was at moments impassioned and agonized, the General Assembly early Thursday approved an historic and far-reaching gun-control bill that proponents said was their toughest-in-the-nation response to the Dec. 14 Newtown school massacre.

The state House of Representatives at 2:26 a.m. gave final legislative approval to the bill by a vote of 105 to 44, with 2 absent. Of the 98 House Democrats present, 13 voted no; and 31 of the 51 Republicans in the hall voted no.

About eight hours earlier, the state Senate had approved it by a 26-10 vote – with two of 22 Democrats and eight of 14 Republicans opposed.

Gov. Dannel P. Malloy will sign the bipartisan bill into law at noon Thursday in the Old Judiciary Room on the third floor of the state Capitol.