A Virginia school board has voted to remove a copy of the Ten Commandments from the wall of a public school.

A student sued the Giles County School Board over the display at Narrows High School, saying it violates First Amendment rights by endorsing a particular religion.

The school board voted unanimously, Thursday, to replace the display with a page from a history textbook that mentions the Ten Commandments and other historical documents like the Magna Carta.

"I think the display itself does good job of bringing together various elements and hopefully will be acceptable to everybody," said Steve Crampton, general counsel for Liberty Counsel, which represented the school board in court.

In May, a judge ordered mediation sessions between the school board and the lawyers representing the student who wants the commandments taken down.

It's unclear how the recent decision to change the display will impact those mediations.