Texas won’t have to pay more than $300,000 in attorney fees to a group that challenged the state’s voter identification law in court, a federal judge in Washington ruled on Monday.

The ruling came several weeks after the same judge, U.S. District Judge Rosemary Collyer, ordered Texas to pay $1 million in fees to groups that challenged the state’s redistricting plans. The two cases raised similar issues, Collyer said in Monday’s decision, but different facts led to the different outcome.