A Montana man who called himself a private investigator was sentenced to more than two years in prison Tuesday for bilking a dozen U.S. law offices, including a firm once used by former AIG chairman Maurice R. Greenberg.

The judge also ordered Michael Lair to pay $307,103 in restitution and said his computer use will be monitored when he leaves prison.