Controversial education bills signed into law