Daniel wins Republican nomination for mayor