republic party defeat