A dispute over religion has led to a jail sentence for a Charlotte, Ga. mother.

According to a report from WSOC, Kendra Stocks will serve a seven days jail sentence for having her daughter baptized.

The court case goes back a couple of years to when Kendra Stocks and Paul Schaaf were in a custody battle over their daughter. Court documents say the two could never agree on religion.

According to court records, Schaaf is a practicing Catholic who attends Mass every week, and that ultimately the court granted him final decision-making authority on all legal custody decisions, including decisions concerning religion.

Both parents were warned that they could go to jail if they ignored the warning.

But the next day, Stocks allegedly went out and baptized her daughter, which Schaaf found out about on Facebook.

The court documents said that “the mother has acted selfishly by depriving the father of the ability to be present at an event that was extraordinarily important to him.”