MACHIAS — A former Maine police chief is going to spend nine months in jail for his conviction on charges he stole more than $33,000 from the Passamaquoddy Tribe.

A judge called the behavior of 42-year-old former Pleasant Point police chief Joseph Barnes “a stunning betrayal.”

Prosecutors say Barnes took the money between April 2007 and May 2008 to fuel a gambling habit. Most of the money was spent at casinos in Connecticut and Louisiana.

Barnes pleaded guilty in April. He was sentenced Thursday.

Barnes resigned his job as the Pleasant Point police chief in May 2009 after being confronted about the missing money.

The Bangor Daily News says Barnes was ordered to pay back all the funds he stole from the tribe as well as the tribe’s attorney’s fees, about $42,000.