Georgia’s Supreme Court on Monday upheld a lower court ruling that 27 deputies, most of them white, were unjustly fired by their county’s new black sheriff.

The deputies were fired by Clayton County Sheriff Victor Hill on Jan. 3, 2005, his first day in office. Some had supported the incumbent who had lost.