Gov. Rick Perry has signed a bill authorizing $1.4 million in compensation for Anthony Graves, who was incarcerated for 18 years for murders he didn't commit.

Perry signed the bill on Friday, according to the Texas Legislature's online bill-tracking website. The legislation, allowing Graves to collect $80,000 for each year he was wrongfully imprisoned, passed the House and Senate in May.