The state's attorney general sued in a bid to stop the drive ahead of a crucial election for a seat on the state Supreme Court.