In 1997, Michael Wayne Haley was arrested after stealing a calculator from Wal-Mart. This was a crime that merited a maximum two-year prison term. But prosecutors incorrectly applied a habitual offender law. Neither the judge nor the defense lawyer caught the error and Haley was sentenced to 16 years.