Broward County Supervisor of Elections Brenda Snipes answers questions at the Supervisor of Elections office Monday, Nov. 12, 2018, in Lauderhill, Fla. Mishaps, protests and litigation are overshadowing the vote recount in Florida's pivotal races for governor and Senate. (AP Photo/Wilfredo Lee)

Besieged Broward County Elections Supervisor Brenda Snipes won a legal battle against Florida’s former Gov. Rick Scott who effectively fired her, but she must now face his successor, Gov. Ron DeSantis, who has a long history of racism.S

U.S. District Court Judge Mark Walker on Wednesday ruled that Scott exceeded his authority when he suspended Snipes from office, the Miami Herald reported.

Walker took a swipe at Scott for his executive order to remove Snipes that he issued on Nov. 30—after the longtime public servant had already announced her resignation that would have taken effect on Jan. 4. The timing of Scott’s move prevented Snipes from challenging her ouster, which is usually done at a state Senate hearing.

“Judges face murky legal issues every day. Today is not one of those days. Flagrantly disregarding [Snipes’] constitutional rights fits into an unfortunate rhythm for Scott,” the judge wrote.

In his order, Scott accused Snipes, a Democrat, of misfeasance, incompetence and neglect of duty. Her county was ground zero for a host of problems in the 2018 midterm elections, including a tight senate race in which Scott, a Republican, was a candidate.

Snipes, 75, fought her suspension through a federal lawsuit against Scott and the state’s Senate President to get her job back.