A Canadian public relations manager for a Chinese-founded development bank announced his resignation Wednesday in a statement that accused it of being dominated by “Communist Party hacks” and said Canada's interests weren't served by being a member.

The Asian Infrastructure Investment Bank confirmed in an email that Bob Pickard resigned as its director general of global communications and rejected his criticism as unfounded.

The AIIB, seen by some as a Chinese rival to the World Bank and Asian Development Bank, was founded in 2016 to finance railways and other infrastructure. It has 106 member governments including most Asian countries and Australia, Canada, Russia, France and Britain. Japan and the United States aren’t members.

Pickard, who worked for AIIB for 15 months, said in a statement on Twitter that resigning was his only course as a “patriotic Canadian.” He complained that the bank was dominated by “Communist Party hacks” who were “like an in-house KGB or Gestapo or Stasi” — the secret police of the Soviet Union, Nazi Germany and Communist-era East Germany, respectively.

The Beijing-headquartered bank “has one of the most toxic cultures imaginable,” Pickard wrote. “I don’t believe that my country’s interests are served by its AIIB membership.”

The resignation comes at a time when ruling Communist Party leader Xi Jinping is tightening control over China's government and pushing private sector companies to align with the party's development plans.

“Mr. Pickard’s recent public comments and characterization of the bank are baseless and disappointing,” the AIIB said in the email. It said the bank “supported and empowered him” during his tenure.

“We are proud of our multilateral mission and have a diverse international team representing 65 different nationalities,” the bank said.

The AIIB president, Jin Liqun, is Chinese. Vice presidents include a Briton, a Russian, an Indian and a German.

Pickard said he was “concerned for my security” and didn’t post his announcement until he arrived in Japan.

Pickard gave no details. He didn’t immediately respond to an email sent to the address on his personal website.

The United States and other governments have warned their citizens of an increased risk of being arbitrarily detained in China or blocked from leaving the country.

The AIIB is separate from China’s multibillion-dollar Belt and Road Initiative to build ports, railways and other trade-related infrastructure across Asia, Africa and the Middle East.

It has US$47.4 billion in assets, according to the bank's 2022 financial statement.