Iran will remain part of the nuclear Non-Proliferation Treaty, the country’s president said, despite the looming threat of renewed U.N. sanctions and a domestic push by some lawmakers to adopt a more aggressive posture.

"We do not have the intention to leave the NPT,” Iranian President Masoud Pezeshkian told reporters at a hotel in midtown New York on Friday.

The president’s words marked a shift in tone from July, when a lead Iranian negotiator said they had not ruled out leaving the agreement.