An appeals court said a man was improperly sentenced when he could not pay the fee for a court-ordered monitoring device following his felony drunken-driving conviction.

The Appellate Division, Third Department, panel ruled that Sullivan County Court Judge Michael McGuire did not have the authority to make defendant Brian Hakes pay the costs of monitoring for his ankle bracelet as one of the terms of his five-year probationary term in 2013.