The US president also promised a soon resolution of the conflict in Iran