The Taylor Elementary School students' campaign began in 2011 after learning that letting homeowners keep hens in their yards could help feed fellow students, The State, Columbia, S.C., reported Sunday.
Until recently, however, raising chickens in Cayce was not permitted.
Teacher Floyd Dinkins, who raises chickens at his home in nearby Pine Ridge, said he had his student write letters to urge council members to approve chicken-raising.
"They decided they wanted to try to make a difference," Dinkins said.
Their work paid off last week when the City Council unanimously approved making chickens an exception to its ban on livestock in neighborhoods.
Next, the student plan on getting permission from the City Council to raise chickens at the school, which city guidelines currently bar.
Dinkins said he hopes to build a coop at the school playground.
'SNL': 'Anchorman 2' cast, One Direction sing 'Afternoon Delight' [VIDEO]
Selena Gomez drops F-bomb, walks off stage during Jingle Ball performance