U.S. President Donald Trump finalized a deal with China allowing Chinese students to remain at U.S. colleges and universities, the White House said in a social media post on Wednesday.

This deal comes two weeks after U.S. Secretary of State Marco Rubio announced the nation would begin to “aggressively revoke” the visas of Chinese students, The Diamondback reported in May.

Rubio said in the statement the revocations would be targeted toward Chinese students “with connections to the Chinese Communist Party or studying in critical fields.” He also wrote the Department of State plans to revise the criteria to enhance scrutiny of future visa applications for all students from China or Hong Kong.

According to Wednesday’s social media post, the deal allows Chinese students to study in the U.S. in exchange for looser restrictions on exports and the imports of rare earth minerals from China.

[UMD issues international students guidance on visa revocations, pauses]

“RELATIONSHIP [with China] IS EXCELLENT,” Trump wrote on the White House social media page. “THANK YOU FOR YOUR ATTENTION TO THIS MATTER!”

Seven students at the University of Maryland had their visas revoked in April, The Diamondback previously reported. This university also told The Diamondback in April that the visas were restored a few weeks later, though policies continue changing.

The Diamondback reported in May that Chinese students made up more than 20 percent of this university’s international students during the fall 2024 semester, making it the second-largest group. China is also the second-largest country in origin for international students in the U.S., the Associated Press previously reported.

[Trump administration to begin ‘aggressively’ revoking Chinese students’ visas]

Trump’s administration stopped the scheduling of new student visa interviews in late May and expanded social media activity screening. According to the Associated Press, students are unsure as to when these appointments could return, though the suspension is supposed to be temporary.

This university did not respond to The Diamondback’s request for comment.