Two men who were locked up nearly 30 years for a murder they have long said they didn't commit left prison this week in plea deals with the state.