A North Carolina mother is serving jail time for having her daughter baptized.

Kendra Stocks was ordered to spend a week behind bars after a judge found her in contempt of court for the 2016 baptism at St. Peter’s Catholic Church, WSOC reported.

The same year, Stocks had been engaged in a custody battle with the girl’s father, Paul Schaff. The court eventually issued a ruling that gave Schaff the final say in all legal custody decisions, including those regarding religion.

Despite a stern warning from the judge, the 36-year-old mother hosted their daugter’s christening the following day. Schaff, a practicing Catholic who attends Mass on a weekly basis, found out the following day through Facebook.

Schaff's attorney said Stocks “acted selfishly by depriving the father of the ability to be present at an event that was extraordinarily important to him,” according to court documents.

Kendra Stocks, of Charlotte, reported to jail Saturday after violating a court order and baptizing her child.

(wsoctv)

Stocks on Friday turned herself in and began serving her week-long sentence.

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

Schaff’s attorney told the Charlotte Observer Stocks was being punished not for the baptism, but for defying the judge.

“For our system to work, there ought to be consequences for willfully and intentionally violating a court order,” attorney Jonathan Feit said. “I teach my children that. I reject the notion that anybody else is responsible for what is happening besides Ms. Stocks herself.”