South Carolina schools have partially lifted a ban on junk food.

State Education Superintendent Molly Spearman has lifted a complete ban on selling unhealthy snacks in schools. Some sales can take place for certain, approved fundraisers, multiple media outlets reported Sunday.

The prohibition started last July under the Smart Snacks provision of the Healthy, Hunger-Free Kids Act of 2010.

Districts protested the ban, saying it hampered the ability of volunteer groups to raise money for activities like field trips.

Schools must apply for a waiver to allow snacks that don't meet low-sodium, low-sugar, low-fat limits to be sold in schools on certain days.