Perry High School has agreed to lift the 10-day suspension of a freshman involved in last week's Make America Great Again controversy, according to a conservative legal advocacy group that threatened to sue the district on the student’s behalf.

Scottsdale-based Alliance Defending Freedom sent a letter Wednesday to Perry Principal Dan Serrano and Camille Casteel, superintendent of Chandler Unified School District, asking that the school rescind its punishment of a student and allow her to return.

The organization also asked that the suspension be wiped from the girl's record, according to a copy of the letter posted to its website.

“While it’s good that the school is allowing (the student) to return to school, it isn’t acceptable that this unjust suspension will remain on her record,” Tyson Langhofer, senior counsel and director of the alliance's Center for Academic Freedom, said in a press release.

Terry Locke, the school district's spokesman, confirmed that the district received the letter. He said he was unable to provide further information because of student-privacy laws.

Heidi Jones, the mother of the student, told The Arizona Republic on Thursday that her daughter is back at school after a three-day suspension.

Suspension followed incident after school let out

Jones's daughter was one of several students wearing gear with President Donald Trump's Make America Great Again slogan and taking pictures with a Trump banner after school Friday when a school-resource officer asked the students to leave campus.

Jones told The Republic that the resource officer was taking photos of the students without permission. When the officer asked the student for her name, she refused to answer. He allegedly told the students no one could have a Trump flag and sent them to the office, Jones said.

Earlier Friday, school officials had told the students to put away the Trump banner after it led to a verbal altercation between students during lunch and administrators were concerned it would escalate, Locke has said. Students initially complied when asked to put the signage away.

Once in the office, Jones said her daughter told administrators that she wasn’t going to answer any questions until her mother arrived.

Jones said her daughter was suspended for 10 days, after she refused to provide her school ID or give her name to Serrano and the school-resource officer. School policy states students are required to have their ID on them at all times and that “students must present it at the request of any faculty or staff members” or face disciplinary action.

Lawyer: Punishment 'motivated' by politics

Langhofer, the attorney representing the student, called the 10-day suspension “a drastic overreaction” that shows the punishment “was motivated by something other than (the girl) not giving her name.”

“There is ample evidence to establish that you imposed the suspension against (the student) based on a disagreement with the viewpoint of (the student's) message,” he wrote in the letter to the district. “Multiple videos demonstrate the hostility that school officials displayed towards the messages expressing support for President Trump and his MAGA slogan.”

Langhofer cited constitutional principles that students don't give up their First Amendment freedoms when they enter a school.

“What we have here is school administrators acting as if the expression of wearing MAGA shirts or having the flag is somehow so provocative that students aren’t going to be able to engage in their work. How school administrators responded to this rather than recognizing that everybody can express a difference of opinion is what led this to escalate," Langhofer told The Republic.

Locke, the district spokesman, has said students were never told to remove Trump-related attire, only to put the banner away. Perry students have said it is common for peers to wear political attire representing all sides of the political spectrum at school without getting in trouble.

Serrano, in an email to parents, said the situation was about safety, not stifling political viewpoints.

The conservative Alliance Defending Freedom's mission statement is "to keep the doors open for the Gospel by advocating for religious liberty, the sanctity of life, and marriage and family."

The alliance is designated as a hate group by the Southern Poverty Law Center because of its anti-LGBT views and claims that a "homosexual agenda" will destroy society.

Most recently, it has been involved in a state Supreme Court case challenging Phoenix's anti-discrimination ordinance for gay, lesbian, bisexual and transgender people.

Editor's note: The suspended student's name was removed from this story to protect her privacy because she is a minor.

Reach reporter Paulina Pineda at paulina.pineda@azcentral.com or 602-444-8130. Follow her on Twitter: @paulinapineda22.

Support local journalism. Subscribe to azcentral.com today.