ALBANY, N.Y. (AP) — The Democrat-controlled New York Legislature has passed a series of gun control measures, including one that would prohibit teachers and other school employees from carrying firearms on school grounds.

The legislation that easily passed the Assembly and Senate on Tuesday also includes a measure that authorizes the removal of guns from the home of a person who has been deemed a risk to themselves or to others. Under the "red flag" bill, a court could determine if firearms should be taken away from someone considered dangerous or mentally ill.

Other approved legislation included a bill to extend the waiting period from three days to 30 days after an inconclusive background check before a gun can be purchased.

Democratic Gov. Andrew Cuomo supports the measures and is expected to sign them into law.