A Utah judge on Monday rejected a Republican-approved congressional map in favor of an alternative that will create a Democratic-leaning district in the Beehive State.

Third District Judge Dianna Gibson wrote in her ruling that the map, which had a finalizing deadline on Monday, “does not comply with Utah law.”

Republicans’ House map, known as Map C, “was drawn with partisan political data on display. Map C does not abide by Proposition 4’s traditional redistricting criteria ‘to the greatest extent practicable,’” Gibson wrote, referring to the 2018 ballot measure approved by voters that reformed redistricting standards.