Under the new law, a school can no longer give a student a cheaper alternative meal.

In a statement Saturday, Gov. Gavin Newsom thanked Ryan Kyote, a third-grader at an elementary school in Napa County who brought national attention to the practice earlier this year by paying for all the food service bills of his fellow students at the school.

“I want to thank Ryan for his empathy and his courage in bringing awareness to this important issue,” Newsom said.