SC acquits death row inmate after 12 years