Parents said they're happy to see the legislation put in place.

"I have two children, they ride school buses and that would make me feel a lot more comfortable about having them being able to get on the bus," said parent Leah Akins.

Once the bill passes through the legislature, it will then go to Governor Andrew Cuomo's desk.

Gov. Cuomo released the following statement:

"The safety of our children is paramount, and we are committed to ensuring our youngest New Yorkers make it to and from school safely and that motorists who endanger these students are held accountable for their reckless actions. This year I advanced legislation to allow school districts and municipalities to install cameras on school buses.

"I commend the Legislature for reaching an agreement on this critical issue and I look forward to seeing it passed and to signing it into law, making New York one of the first states to use this technology to protect the safety of our school children."