A former bookkeeper at San Francisco medical malpractice and personal injury firm Bostwick, Peterson & Mitchell was sentenced just before Christmas for helping himself to $9 million of the firm’s funds over about nine years.

San Francisco Superior Court Judge Kay Tsenin sentenced the former bookkeeper, Richard Thomas, to 10 years in state prison. He’ll also have to pay $8.7 million in restitution.