A high school teacher in Fort Worth, Texas, was officially fired Tuesday due to inappropriate comments made on social media and after a court battle.

Georgia Clark, who worked at Carter-Riverside High School, was supposed to be terminated in the summer of 2019 by the Fort Worth school board’s superintendent Kent Scribner. Months later, the school board followed through with the termination, which prompted Clark to appeal.

On Tuesday, the courts upheld the original request to terminate Clark.

“The District is pleased that Judge Catherine A. Mauzy recognized the importance of the Board’s ability to make employment decisions in the best interests of its students and school community,” the district said in a press release.

She was found using “racially insensitive language” and “abusing social media,” Scribner explained, per the Fort Worth Star-Telegram.

She tweeted at Donald Trump to ask him to help remove the “illegals from Fort Worth.”

“Mr. President, Fort Worth Independent School District is loaded with illegal students from Mexico. Carter-Riverside High School has been taken over by them,” she said in another tweet.

The account these tweets came from has since been deleted.

Migrants approach the US border on Gateway International Bridge in Brownsville, Texas on March 2, 2021
Migrants approach the US border on Gateway International Bridge in Brownsville, Texas on March 2, 2021 AFP / Sergio FLORES