JUNEAU, AlaskaAP —

A man with the same name and Republican party affiliation as Alaska US Sen. Dan Sullivan is eligible to challenge the senator in the August primary, a judge ruled Friday, the latest turn in a drama surrounding the broader fight over control of the US Senate.

Superior Court Judge Thomas Matthews’ ruling overturns a June 15 decision by Division of Elections Director Carol Beecher to disqualify the challenger and keep him off the primary ballot. Matthews’ ruling can be appealed to the state Supreme Court.

Attorneys for the state have said Tuesday is the deadline for a final ruling so that ballots for the Aug. 18 primary can be printed.

The judge ruled that the elections division’s decision to exclude Dan J. Sullivan because his candidacy was not “in good faith” was not based on the US Constitution, Alaska law or the Division’s own regulations.