An Alaska federal judge ruled Friday that Republican Senate candidate Joe Miller’s challenge to the counting of write-in ballots raises “serious” legal issues but is a matter for a state, not federal, court to decide.

Yet in deferring to an Alaska state court for a final decision, U.S. District Judge Ralph Beistline said he would grant a temporary injunction to halt official certification of the Nov. 2 election — an action Miller is seeking — so long as Miller takes his case to the state court by Monday.