A candidate or any person who requested a recount who has reason to believe an error has been made in the recount (1) involving any question or proposition or the validity of any ballot may appeal to the superior court in accordance with applicable court rules governing appeals in civil matters, and (2) involving candidates for the legislature or Congress or the office of governor and lieutenant governor may appeal to the supreme court in accordance with rules as may be adopted by the court. Appeal shall be filed within five days of the completion of the recount. Upon order of the court, the director shall furnish the record of the recount taken, including all ballots, registers, and other election material and papers pertaining to the election contest. The appeal shall be heard by the court sitting without a jury. The inquiry in the appeal shall extend to the questions whether or not the director has properly determined what ballots, parts of ballots, or marks for candidates on ballots are valid, and to which candidate or division on the question or proposition the vote should be attributed. The court shall enter judgment either setting aside, modifying, or affirming the action of the director on recount.
AS 15.20.510