A special election will be held in August to select a new Republican nominee.