China is also a close ally of Sudan , buying oil from it and helping Sudan resist pressure at the United Nations to force government-linked Sudanese militias to end their violence against civilians in Darfur . ''