US President Donald Trump announced his intention to reach a permanent agreement with Iran to prevent it from acquiring a nuclear weapon.