A North Carolina woman was jailed Friday after baptizing her daughter, violating a court order stemming from a custody battle.

The custody battle included a disagreement over the terms of their daughter’s baptism, according to local news station WSOC-TV. The court order stated that the father of the child, Paul Schaaf, who is Catholic, would have the final decision on matters, including religious ones.

They were reportedly told that violating the court order could lead to jail time, fines or both. However, the mother Kendra Stocks, baptized her daughter the day after the court order was put in place, according to the network. Stocks was found in contempt of court and sentenced to seven days in jail.

“Her father and I both agreed on baptizing her. I regret that he wasn’t part of it, but I don’t regret we’re raising her in the Catholic faith, which is what we both wanted,” Stocks told the news station.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.