MONTPELIER (AP) - The Vermont Supreme Court has rejected a claim by a former temporary state correctional officer that he was denied a permanent job because he was preparing to head to Afghanistan as part of the Vermont National Guard.

In a decision issued Friday, the high court upheld a lower court decision that found that Daniel Brown was not denied a permanent job because of his pending military service, but because better a better candidate was given the permanent job.

In 2009 Brown, then of Stockbridge, was working as a temporary correctional officer at the Springfield prison when he first claimed his pending military service led to his not being given the permanent job.

A separate state investigation found no evidence Brown was discriminated against because of his pending military service.