Media playback is unsupported on your device Media caption Analysis: Trump's plan to confront - and sometimes work with - US rivals

US President Donald Trump has outlined his new national security strategy, labelling China and Russia the primary threats to US economic dominance.

His speech - which was based on his platform of "America First" - attacked the "failures" of past foreign policy.

He criticised Pakistan and North Korea, and how previous administrations approached other world powers.

The US faces a new era of competition, the US president said at the Ronald Reagan Building in Washington.

Russia and China are "rival powers", he said, but the US must attempt to build a "great partnership with them".

As an example of this new spirit of co-operation, Mr Trump referred to a phone call of thanks he received from Russian President Vladimir Putin for intelligence the CIA provided to the Kremlin about an alleged terror plot.

But there was harsher language for Russia and China in the new National Security Strategy document itself, published before the speech, which called them "revisionist powers".

Mr Trump described "four pillars" to his new plan but made no mention of human rights or climate change, his critics noted.

The four themes are protecting the homeland, promoting American prosperity, demonstrating peace through strength and advancing American influence.

The 68-page document, which White House officials began work on 11 months ago, suggests a return to Mr Trump's campaign promises.

It explicitly states that "the United States will no longer turn a blind eye to violations, cheating or economic aggression".

Image copyright Getty Images Image caption Mr Trump will renew his call for a wall on the southern border

Referring to his election victory during the speech, he said that in 2016 voters chose to "Make America Great Again".

Previous American leaders had "drifted" and "lost sight of America's destiny" he said, standing before a backdrop of American flags.

"Now less than one year later I am proud to report that the entire world has heard the news and has seen the signs," he said.

"America is coming back and America is coming back strong."

Muscular engagement

By Barbara Plett, BBC state department correspondent

National security strategies are usually released without fanfare, but President Trump wanted to make an event out of this announcement, which builds on his America First campaign priorities.

So the document emphasises the economy and fair trade as security issues, as well as tough border controls and immigration policies.

Mr Trump's decision to call out Russia and China as global competitors reflected the wariness within his administration about these two "revisionist powers".

The president himself shifted quickly to talk about his recent phone calls with President Vladimir Putin, with whom he seeks a closer relationship. But the text of the document goes into quite biting detail about Russia's alleged interference in domestic politics, and about Chinese economic practices that anger the Americans.

That was part of an overall theme that emphasised competition more than co-operation in international relations.

It signalled engagement with the world rather than an isolationist retreat, but on more muscular terms than his predecessors.

He named the US withdrawal from the Paris climate accord and the Trans-Pacific Partnership trade deal among his successes in office.

Mr Trump also said that wealthy countries must recognise that they need to "reimburse" the US for the costs of defending them.

He criticised North Korea for their repeated nuclear missile tests, and Pakistan for not doing enough to tackle Islamic extremism.

Media playback is unsupported on your device Media caption Donald Trump: 'America first, America first'

He also outlined his campaign promise to build a wall on the southern border, as well as reform of the immigration visa system, which he said is necessary to defend the homeland.

The new policy stresses economic security but does not recognise climate change as a national security threat.

His predecessor Barack Obama in 2015 declared climate change an "urgent and growing threat to our national security".