wrongly spent 428 days in jail and 147 in a mental hospital