A homeschooling German family that was granted asylum six years ago and was on the verge of being deported after the Supreme Court rejected its final appeal on Monday will be allowed to remain in the country after all.

The Department of Homeland Security said Tuesday the Romeike family could remain in the U.S. — without receiving citizenship.

“This is an incredible victory that I can only credit to Almighty God. I also want to thank those who spoke up on this issue — including that long ago White House petition,” Home School Legal Defense Association Chairman Michael Farris said in a press release.

“We believe that the public outcry made a huge impact. What an amazing turnaround — in just 24 hours.”

The case stems from the family’s belief that its children should be home schooled. Germany would not allow that practice, and Uwe and Hannelore Romeike — who have raised their children as devout Christians and began home schooling three of them in 2006 — feared they would lose custody of them after German authorities visited the family’s home and began issuing fines. Attending state-approved schools is mandatory in Germany.