SAN FRANCISCO (CBS SF) — A Michigan man’s discovery that someone was using his identity to obtain medical benefits in California uncovered a decades-long scam, San Francisco police said Friday.

The victim contacted San Francisco police on June 13th after he was denied medical benefits in Michigan and told that someone with his name, date of birth and social security number had health insurance in his name in California, police said. He had never been to California.

READ MORE: COVID Surge: Mask Mandate Returns To Bay Area Businesses With No Limits On Capacity

An investigation led police to the arrest on Thursday of Gregory Harville, 58, a San Francisco resident who allegedly gave the victim’s name when he was arrested and was carrying various identifying documents with the false name.

Investigators determined that Harville had been using the victim’s identity for more than 30 years. He allegedly obtained a drivers license, collected general assistance, held jobs, received traffic citations, been arrested and even served time in state prison under the victim’s name, police said.

READ MORE: Firefighters Battling 2-3 Acre Wildfire In Lake County

Perhaps adding insult to injury, Harville and the victim turned out to have known each other in Michigan more than 30 years ago, police said.

Harville was arrested and booked into San Francisco County Jail on felony charges including identity theft, forgery and perjury.

MORE NEWS: UPDATE: Shooting Shuts Down EB Highway 4 In Antioch

(Copyright 2012 by CBS San Francisco and Bay City News Service. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)