Twenty-seven-year-old former Marine Jon Hammar of Palmetto Bay has been released from a Mexican prison.