Ex-con politico has edge in York race