Iran's president has promised to increase the country's military power and missile capability, days after the country's government was condemned by U.S. President Donald Trump.

"We will increase our military power as a deterrent. We will strengthen our missile capabilities," President Hassan Rouhani said on Friday in a speech broadcast on state television.

"We will not seek permission from anyone to defend our country," Rouhani said according to Reuters.

Rouhani made the speech to a parade of the country's armed forces in the city of Tehran.

The speech has been seen as defiance to President Trump, who criticized Iran's leadership in a speech to the United Nations earlier this week.