After nearly 12 hours of impassioned objections by Republicans, the DFL-controlled House sent an overhaul of Minnesota’s bullying-prevention law to Gov. Mark Dayton early Wednesday morning.

GOP lawmakers acknowledged from the start of the debate at 1 p.m. Tuesday that House DFLers had the votes to pass the Safe and Supportive Minnesota Schools Act, but they objected to the measure right up until the vote, shortly before 12:30 a.m.

The bill prevailed on a 69-63 vote, mostly along party lines.

The bill passed the Senate last week with a 36-31 vote with all Republicans and three DFLers voting against it.

Minnesota’s current anti-bullying law is 37 words. The bill requires school leaders to develop a comprehensive anti-bullying policy, train staff to prevent bullying and quickly investigate allegations.

Jim Davnie, DFL-Minneapolis, the chief sponsor of the measure in the House, said the legislation is needed to ensure students felt safe at school.

“We talk about this being about anti-bullying, and it is. It’s also about positioning Minnesota as a leader in the next generation of education reform,” Davnie said, referring to the role safe schools play in academic achievement.