Iran said Monday that North Korea should be wary of negotiating with US President Donald Trump following his withdrawal from the landmark 2015 nuclear agreement.

Foreign Ministry spokesman Bahram Ghasemi said that North Korea should approach this week’s summit with Trump with “awareness.” He said Iran views Trump and the United States with “great pessimism,” saying they are known for “quitting treaties and violating their commitments.”

Trump withdrew the US from the nuclear deal — which the Obama administration had reached with Iran, Britain, France, Germany, China and Russia — on May 8. The agreement required Iran to curb its uranium enrichment in exchange for relief from international sanctions.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

Following his withdrawal from the pact, Trump has announced the restoration of US sanctions, while European leaders are trying to preserve the deal.

Iran has said it will ramp up its uranium enrichment capabilities and last week opened a new facility geared toward producing enrichment centrifuges that will operate within the limits of the nuclear deal

The US president is set to meet North Korean leader Kim Jong Un in Singapore on Tuesday and both leaders have already arrived in the sovereign city-state.

Trump has said he hopes to make a legacy-defining deal for the North to give up its nuclear weapons, though he has recently sought to minimize expectations, saying more than one meeting may be necessary. The North has faced crippling diplomatic and economic sanctions as it has advanced development of its nuclear and ballistic missile programs.

The talks have been portrayed by Trump in recent days more as a get-to-know-you session. The US president has also raised the possibility of further summits and an agreement ending the Korean War by replacing the armistice signed in 1953 with a peace treaty. China and South Korea would have to sign off on any legal treaty.