A school in Texas has found itself embroiled in a political nightmare after the state’s Attorney General accused it of being “anti-Christian” for allowing Muslim students to pray in a spare classroom.

In what has been described by as a “publicity stunt”, Ken Paxton wrote an open letter to the suburban Dallas school to express his “concerns” that the school had violated the Constitution as the classroom was “not available to students of all faiths”.

“Instead, it appears that the prayer room is ‘dedicated to the religious needs of some students’ – namely, those who practice Islam,” he wrote in the letter on 17 March to Liberty High School.

“It is unclear whether students of other faiths may use the room at the same time or at other times during the week. Liberty High School’s policy should be neutral toward religion.”

Mr Paxton’s letter was backed up by Texas Governor Greg Abbott.

“The Texas Attorney General is looking into the Public School Prayer Room issue many of you have questioned,” he wrote on social media.

The Frisco Independent School District Superintendent Jeremy Lyon responded in a letter that the classroom was open for all students and that the school was complying with the law – including the Texas religious Freedom Restoration Act, which requires it not to “substantially burden” a person’s free exercise of religion.

The use of the classroom, which has not been questioned for more than seven years, was provided as an alternative to Muslim students who otherwise had to miss hours of school to travel several miles to the nearest mosque. Instead, every lunchtime a handful of students would come in and pray for five minutes.

Mr Lyon questioned Mr Paxton’s claim that the Attorney General had already made an “initial enquiry” to the school which had not been addressed. Mr lyon said he had learnt of the open letter through media reports.

“It is important to note Frisco ISD is greatly concerned that this type of inflammatory rhetoric in the current climate may place the District, its students, staff, parents and community in danger of unnecessary disruption,” he wrote.

A week before he read the letter, the school principal had told KERA public radio that all students were welcome to use the room.

Protestors rally at JFK Airport against Muslim immigration ban Show all 20 1 /20 Protestors rally at JFK Airport against Muslim immigration ban Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-1 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-2 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-3 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-4 SAN FRANCISCO, CA - JANUARY 28: Demonstrators hold signs during a rally against a ban on Muslim immigration at San Francisco International Airport on January 28, 2017 in San Francisco, California. President Donald Trump signed an executive order Friday that suspends entry of all refugees for 120 days, indefinitely suspends the entries of all Syrian refugees, as well as barring entries from seven predominantly Muslim countries from entering for 90 days. Stephen Lam/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-5 A crowd of protesters gathers outside of the Brooklyn Federal Courthouse as a judge hears a challenge against President Donald Trump's executive ban on immigration from several Muslim countries, on January 28, 2017 in Brooklyn. The judge issued an emergency stay on part of Trump's executive order, ruling that sending refugees stopped at U.S. airports back to their countries would be harmful. Yana Paskova/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-6 Protestors rally during a demonstration against the new immigration ban issued by President Donald Trump at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-7 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the new immigration ban issued by President Donald Trump at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-8 Protestors rally during a demonstration against the new immigration ban issued by President Donald Trump at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-9 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. (Photo by Stephanie Keith/Getty Images) Getty Images Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-10 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. (Photo by Stephanie Keith/Getty Images) Getty Images Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-11 NEW YORK, NY - JANUARY 28: Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-12 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-13 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-14 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-15 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-16 Protestors rally during a demonstration against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump signed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-17 NEW YORK, NY - JANUARY 28: Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-18 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-19 Protestors rally during a protest against the Muslim immigration ban at John F. Kennedy International Airport on January 28, 2017 in New York City. President Trump singed the controversial executive order that halted refugees and residents from predominantly Muslim countries from entering the United States. Stephanie Keith/Getty Protestors rally at JFK Airport against Muslim immigration ban jfk-protest-muslim-ban-20 Passengers wait in line to check in at the American Airlines terminal at JFK International Airport August 10, 2006 in the Queens borough of New York City. British authorities arrested 21 people and halted a anallegedly terrorist plot to use liquid explosives concealed in carry-on luggage to blow up airliners traveling between Britain and the U.S. Homeland Security chief Michael Chertoff said that the plot appeared to be directed at U.S. carriers flying out of Heathrow. such as United Airlines, American Airlines, Continental Airlines. Stephen Chernin/Getty

Mr Paxton was unrepentant, however, and said in an interview with Fox News that the prayer room must be open for all students. The school has alleged that the official has failed to respond to their enquiries since issuing the press release on Friday.

The Texas branch of the Council on American-Islamic Relations released a statement, calling Mr Paxton’s letter a “cheap Islamophobic publicity stunt”.

“Attorney General Ken Paxton's office appears to have made its ill-informed statements without first contacting school officials,” it read.

“That apparent lack of interest in the facts of this case would seem to confirm suspicions that the 'concerns' about Muslim prayers have less to do with religious neutrality, and more to do with exploiting growing Islamophobia in our state and nationwide.”

Muslim national security staffer quit after 8 days in Trump White House

The school maintained the prayer room would remain open this week – for all students.

Mr Paxton previously successfully sued a middle school principal to keep a Bible quote on a door and has criticised what he describes as “anti-Christian discrimination” in state schools.

In 2015, Mr Paxton joined 15 other states to oppose a lawsuit from an atheist society to stop school board officials from conducting religious prayers before public meetings.

Mr Paxton also supported President Trump’s unsubstantiated claims that millions of people voted illegally, which is why, Mr Trump claimed, that he lost the popular vote.