FALLS CHURCH, Va. (AP) — A Virginia Senate committee has killed legislation that would have required parental consent for students to check out sexually explicit books from school libraries.

Republican Senator Bill DeSteph introduced the bill after parents across the state complained about library books that included graphic depictions of sex acts. The issue animated Republican Gov. Glenn Youngkin’s victory in November.

On Thursday, a Senate committee controlled by Democrats killed the bill. One moderate Democrat sided with Republicans but it still died on an 8-7 vote. The committee will play a key role in determining whether Youngkin’s education agenda can be enacted into law.