The decision ends a chapter in a nearly five-year battle over the district lines – which has gone to the U.S. Supreme Court – and adds another item to a lengthy punch list awaiting state lawmakers next month.