The state legislature in New York has voted to approve a sweeping gun control measure. It bans assault weapons and makes it harder for seriously mentally ill people to legally obtain firearms.