U.S. President Donald Trump said he has reached a 1-year agreement with China on rare earths and critical minerals, and cut fentanyl tariffs on Beijing by half, as his meeting with Chinese President Xi Jinping concluded in South Korea on Thursday.

Trump told reporters aboard Air Force One as he left South Korea that the meeting with Xi was “amazing” and that “a lot of decisions were made.”

“Rare earth issue has been settled,” Trump said, adding that it is a 1-year agreement that will be negotiated every year. Tariffs on Chinese exports will also be lowered to 47% from 57%, he said.

In return, Beijing will “work very hard to stop fentanyl” and resume purchases of American soybeans and other agricultural products.

Trump said he will be going to China in April, followed by a trip by Xi to the U.S. without specifying a timeline.