SACRAMENTO (AP) – California has awarded nearly $2 million in compensation to a former inmate wrongly imprisoned for nearly 40 years.

Gov. Jerry Brown on Thursday signed the law giving 70-year-old Craig Richard Coley $140 for each day he was in prison.

READ MORE: Hamilton Fans Evacuated After Fire Alarm Goes Off In Sacramento Convention Center

Coley spent 39 years behind bars after he was wrongly convicted of killing his girlfriend, 24-year-old Rhonda Wicht of Simi Valley, and her 4-year-old son in 1978.

Brown pardoned him before Thanksgiving at the urging of Simi Valley’s police chief and Ventura County’s district attorney, who cited faulty evidence.

READ MORE: Missing Marysville Teen Carmen Miller May Be Victim Of Sex Trafficking, Police Say

Coley previously said the money can’t make up for what he called the “worst nightmare” of spending 13,991 days in prison.

It’s the largest payment under California’s Erroneous Conviction Program, although there have been larger awards to crime victims through other programs.

MORE NEWS: Proposed Campground Expansion At Auburn State Recreation Area Draws Concern Over Wildfire Risk

Copyright 2018 The Associated Press.