The ruling reversed a decision by the state's elections office that had found Dan J. Sullivan was ineligible to challenge Dan S. Sullivan, an incumbent senator.
The State Department said it planned to release 40,000 U.S. passports featuring an image of the president to commemorate the United States' 250th anniversary.