HARTFORD - The state Senate voted 26-10 to pass a gun control bill Wednesday evening after nearly seven hours of debate.

The legislation was drafted in response to the Newtown school shooting in December. It calls for background checks for every gun purchase, a ban on new high-capacity magazines and includes a registry for anyone who already owns a clip that holds more than 10 bullets.

advertisement | advertise on newsday

Senate Minority Leader John McKinney gave an emotional speech at the end of the proceedings, saying this was the least the state could do for the victims of Newtown. He also said the bill would hopefully send a message to the rest of the nation as gun control is debated at the federal level.

The bill has now moved on to the House of Representatives.

There was also a preliminary vote to split the gun portion of the bill from the mental health portion, but it did not pass.