A state district judge on Thursday granted a temporary restraining order against the Killeen school district’s decision to tear down a Christmas decoration depicting "Peanuts" cartoon character Linus in "A Charlie Brown Christmas," according to the Texas attorney general’s office.

Earlier this month, clinic aide Dedra Shannon put up the decorations on the Patterson Middle School nurse’s door, with a drawing of Linus citing the biblical account of the birth of Jesus. Two days later, Principal Kara Trevino ordered Shannon to take down the decorations.

Judge Jack Jones on Thursday ordered the poster to be restored with an added line: "Ms. Shannon’s Christmas message," according to the Texas Values, a conservative religious group.

Shannon planned to put the poster back up Friday, her attorney said. Friday is the last day of school at the Killeen district before the winter break.

Responding to the ruling, Attorney General Ken Paxton said in a statement: "Religious discrimination towards Christians has become a holiday tradition of sorts among certain groups. I am glad to see that the court broke through the left’s rhetorical fog and recognized that a commitment to diversity means protecting everyone’s individual religious expression."

Paxton on Thursday sued the Killeen school district over the case, saying the district "made a clear legal error when it decided it had to censor staff member Dedra Shannon’s Christmas decoration simply because it incorporated some religious terminology."

The quote from Linus, citing the Gospel of Luke, is from "A Charlie Brown Christmas": "For unto you is born this day in the city of David a Savior, which is Christ the Lord. … That’s what Christmas is all about, Charlie Brown."

The school district came under fire after the removal, but Killeen school board trustees on Tuesday voted 6-1 to back the principal.

"Our employees are free to celebrate the Christmas and holiday season in the manner of their choosing," the district said in a statement. "However, employees are not permitted to impose their personal beliefs on students. The display in question was a six-foot-plus tall door decoration in the main hallway of the school building, and included a reference to a Bible verse covering much of the door. Upon review, it is clear that this display was not in keeping with the Merry Christmas Bill (House Bill 308), which requires that a display not encourage adherence to a particular religion."

Paxton has decried the removal as a violation of the First Amendment and state law. He said Shannon and her decorations are protected under the so-called Merry Christmas Law passed by the Legislature in 2013.