After eight years of pushing for Erin’s Law, New York is poised to become the 37th state to require sexual abuse education in public schools.

The state assembly voted just around midnight to overwhelmingly pass the bill.

Since 2011, Erin’s Law has been stuck in committee, never making it to the floor for a vote until Thursday night. The bill changes education law, requiring public schools, kindergarten through eighth grade, to teach a course on preventing child sexual abuse. Parents and teachers are also given tools on how to recognize signs and talk to children.

In the past, lawmakers have said they were concerned about government overreach.

The state Senate unanimously passed Erin’s Law earlier this month. It now goes to Governor Andrew Cuomo’s desk for his signature.