BOSTON (AP) - Former Massachusetts treasurer Tim Cahill says he believes the jury deadlock in his corruption case is total vindication for him.

A judge declared a mistrial Wednesday after jurors deliberated for more than 40 hours and were unable to reach a verdict.

Attorney General Martha Coakley has not yet said if she will retry the case.

Cahill was accused of scheming to run $1.5 million in taxpayer-funded ads for the state lottery to promote his sinking 2010 campaign for governor.

He testified that he approved the ad blitz because he wanted to defend the lottery after the Republican Governors Association ran a series of negative ads attacking him and his management.

On Wednesday he thanked jurors and said he had no fears about what Coakley would decide.