Media playback is unsupported on your device Media caption The BBC's Martin Patience: "Privately Chinese officials will be deeply worried about these developments"

North Korea says it is proceeding with plans for a third nuclear test.

In a statement carried by KCNA news agency, the country's top military body said the "high-level nuclear test" and more long-range rocket launches were aimed at its "arch-enemy", the US.

The statement gave no time-frame for the test. North Korea has conducted two nuclear tests, in 2006 and 2009.

The move comes two days after a UN Security Council resolution condemned Pyongyang's recent rocket launch.

The Security Council also expanded sanctions against the isolated communist country following its December launch, which was seen by the US and North Korea's neighbours as a banned test of long-range missile technology.

North Korea said the rocket was solely aimed at putting a satellite into space for peaceful purposes.

'Ready'

The statement, which came from North Korea's National Defence Commission, hit out at the resolution as "illegal", before pledging a response.

Analysis Pyongyang's defiant reaction to Tuesday's further sanctions is of no surprise - but it poses a new challenge to China. For years, China has been playing a careful balancing act in dealing with the reclusive country: persuasion, pressure but not sanction. So China's backing of the UN resolution expanding sanctions is a departure from its long-standing policy on North Korea. The main reason for the shift in policy is China's need for US support in dealing with the increasing tension between China and Japan over disputed islands in the East China Sea. A second reason is Beijing's need to respond to the Obama administration's strategic shift in focus towards the Asia-Pacific region. China needs to maximise its leverage with the US in order to better safeguard its own interests - and Pyongyang is a card it can play. The question is whether such a shift is temporary or a long-term change in approach. The bottom line is: China wants to maintain its clout over Pyongyang and to keep the Kim Jung-un regime intact for the foreseeable future - while also managing its other strategic priorities.

"We do not hide that the various satellites and long-range rockets we will continue to launch, as well as the high-level nuclear test we will proceed with, are aimed at our arch-enemy, the United States," KCNA quoted it as saying.

"Settling accounts with the US needs to be done with force, not with words," it added.

Recent reports from South Korean and US bodies which monitor North Korea's nuclear test sites had said North Korea could be preparing for a third test.

Earlier on Thursday, a South Korean defence ministry spokesman said it appeared that North Korea was "ready to conduct a nuclear test at anytime if its leadership decides to go ahead".

Regional neighbours and the US have urged it not to proceed.

"We hope they don't do it, we call on them not to do it. It will be a mistake and a missed opportunity if they were to do it," said Glyn Davies, the US special envoy on North Korea policy who is currently visiting Seoul.

"This is not a moment to increase tensions on the Korean Peninsula."

A South Korean foreign ministry spokesman said Seoul deeply regretted the North Korean statement and "strongly" urged it not to go ahead.

China's foreign ministry, meanwhile, called on all relevant parties to "refrain from action that might escalate the situation in the region".

North Korean nuclear tests Two underground nuclear tests have been carried out by North Korea, in 2006 and 2009

They were believed to have used plutonium, but experts believe the planned test could use highly-enriched uranium as the fissile material

Analysts say a new test tunnel has been prepared in Punggye-ri, the site of the previous tests

North Korea is thought to have enough nuclear material for a small number of bombs, but not the technology to make a nuclear warhead

Multiple rounds of multi-national talks have failed to categorically convince Pyongyang to commit to giving up its nuclear ambitions North Korea's nuclear tests Q&A: North Korea's nuclear programme

Beijing - North Korea's closest ally and biggest trading partner - backed Tuesday's Security Council resolution, something which correspondents say will have angered its neighbour.

'High-level'

Both North Korea's previous nuclear tests followed long-range rocket launches.

If it were to go ahead, this would be the first nuclear test under Kim Jong-un, who took over the leadership after the death of his father Kim Jong-il in December 2011.

There was no explanation in the statement of what "high-level" test might mean.

Experts believe the two previous tests used plutonium as fissile material, but North Korea is also believed to have been working on a programme to produce highly-enriched uranium.

It is thought that North Korea is not yet able to make a nuclear device small enough to mount on a long-range missile, although the US believes that is Pyongyang's ultimate goal.