For example , China opposed moves to punish its oil partner Sudan for atrocities in Darfur and blocked efforts to bring the issue of Iran 's nuclear weapons program before the United Nations Security Council .