In the US, candidates for federal office are prohibited from accepting foreign donations, which would make the withdrawal unlawful.