A Budapest university threatened with being shut down after emerging as a high-profile target of government attacks on its founder, the financier George Soros, announced a bit of welcome news on Wednesday: It has been reaccredited for the next five years.

“Our university is proud to have secured reaccreditation here in Hungary, where we belong,” the president and rector of the Central European University, Michael Ignatieff, said in a statement.

The university became a focus last year of a broad campaign against Mr. Soros by the right-wing government of Prime Minister Viktor Orban, although the institution has consistently maintained that he no longer plays a role in its operations.

The government proposed legislation last year that appeared to have been written specifically with the intent of shutting the school down, and its passage was met with criticism from universities around the world, the United States and the executive arm of the European Union.