School officials say this section caused a lot of problems for schools across Alabama.
Because of this latest ruling, they say they can now focus on education.
When Alabama’s immigration law went into effect, school officials say it caused a lot of unnecessary fear.
“Our concern being that students were in Alabama and were legal Americans and maybe a parent was not. So for fear of their children being interrogated or questioned about it, they just weren’t entering their students in school.” Director of secondary curriculum Allyson Morgan said.
“When the law passed it created panic and people left.” Advocate Rich Lopez said.
28 stated Alabama schools had to collect the immigration status of those students who enrolled.
However, Monday an appeals court ruled it unconstitutional.
Educators we talked to are pleased, they claim it was getting in their way.
"When the law was enacted, we were very concerned that the school system would be a reporting agency and that we would have to be documenting data on who was illegal. We were pleased that that was struck down because it allows us to educate students.” Morgan said.
“I heard from many administrators many teachers who said I went to college I got a degree in education I want to be an educator not an immigration officer.” Lopez said.
Morgan believes they'll see students returning to school, students who didn't have to leave in the first place.
“I do feel like in some areas it will calm some fears and that students will be able to stay in school and get the education.”
However Lopez believes since there have been so many changes, undocumented families will still be skeptical
“I think what the undocumented community wants to know is, is this for real now? Am I protected?” Lopez said.
But he also believes many families are taking this repeal as a sigh of relief.
Lopez says another part of the law he hopes to see thrown out is section 287.
It allows local law enforcement officers to ask people about their immigration status.