the person that bates replaced was originally a member of what party ?
whig party