The Clinton Foundation swore off donations from foreign governments when Hillary Clinton was secretary of state. That didn’t stop the foundation from raising millions of dollars from foreigners with connections to their home governments, a review of foundation disclosures shows.

Some donors have direct ties to foreign governments. One is a member of the Saudi royal family. Another is a Ukrainian oligarch and former parliamentarian. Others are individuals with close connections to foreign governments that stem from their business activities. Their professed policy interests range from human rights to U.S.-Cuba relations.

All told, more than a dozen foreign individuals and their foundations and companies were large donors to the Clinton Foundation in the years after Mrs. Clinton became secretary of state in 2009, collectively giving between $34 million and $68 million, foundation records show. Some donors also provided funding directly to charitable projects sponsored by the foundation, valued by the organization at $60 million.

After Mrs. Clinton left the State Department in 2013, the foundation resumed accepting donations from foreign governments. Just after she stepped down as secretary of state, it received a large donation from a conglomerate run by a member of China’s National People’s Congress.

In response to questions about foreign donations, a foundation official said the individuals have given to a host of other major philanthropies. “Like other global charities and nongovernmental organizations, the Clinton Foundation receives support from individuals all over the world because our programs are improving the lives of millions of people around the globe,” said spokesman Craig Minassian.