A Chapel Hill man was sentenced Wednesday to prison for trying to kidnap a college student two years ago.