The news comes exactly one year after President Trump pulled the U.S. out of the agreement, calling it “a horrible one-sided deal.” In August, the Trump administration restored some of the sanctions that were lifted as part of the 2015 nuclear deal.

President Hassan Rouhani announced on Wednesday that Tehran will start keeping larger amounts of enriched uranium and heavy water, instead of selling the excess to other countries, as the deal requires.

And he said that if the other countries in the accord haven’t figured out a way to shield Iran’s oil and banking industries from U.S. sanctions, Iran will begin enriching uranium to higher levels, ending a commitment made under the deal. The return of U.S. sanctions has been damaging to Iran’s economy.