BOSTON (AP) — A movie director charged with inflating expenses in his application for Massachusetts film tax credits has pleaded guilty and will be sentenced to up to 3 years in state prison.

Daniel Adams had initially pleaded not guilty to 10 charges including larceny and making a false claim against the state. He has also been ordered to pay nearly $4.4 million in restitution to the state.

READ MORE: Federal Prosecutors Drop Charges Against MIT Professor Gang Chen, Accused Of Hiding Ties To China

A judge ordered Adams released Thursday on $10,000 bail until the start of his sentence on May 10. Adams was also ordered to surrender his passport and wear a GPS tracking device.

READ MORE: Does Tom Brady Actually Get More Roughing The Passer Penalties Than Other QBs? The Data Says No

Attorney General Martha Coakley’s office had accused Adams of exaggerating expenses for two films shot on Cape Cod, “The Golden Boys” and “The Lightkeepers,” resulting in about $4.7 million in tax credit overpayments.

MORE NEWS: Keller @ Large: President Biden's Ratings Will Improve When Quality Of Life Improves

Copyright 2012 The Associated Press.