Wrongfully convicted man freed after nearly 30 years in prison