During the last five years, taxpayers in New Jersey, Ohio and California have owned large financial stakes in the owner of the media company that allegedly helped the Trump campaign bury negative stories, according to documents reviewed by Capital & Main and MapLight.

Under Republican governors, the two states committed at least $625 million of pension cash into Chatham Asset Management, a high-risk hedge fund that has taken control of the National Enquirer‘s parent company, American Media Inc., which is at the center of the federal investigation into President Donald Trump’s 2016 campaign. California’s pension fund also has a $235 million stake in a Chatham fund.

The hedge fund is run by Anthony Melchiorre, a GOP donor who reportedly met with the president and AMI CEO David Pecker at the White House soon after Trump took office. Melchiorre and his wife have donated more than $100,000 to Republican candidates and party committees since 2010.

Trump’s former attorney, Michael Cohen, recently pleaded guilty to breaking campaign finance laws stemming from payments he made to women to hide affairs with the former reality TV star and real estate magnate. AMI executives helped Cohen purchase stories that could have hurt Trump’s presidential bid, according to the Wall Street Journal.

AMI has denied it helped Trump’s campaign, although Pecker was recently granted immunity as part of the Cohen probe. Former FEC commissioner Trevor Potter, the head of the nonprofit Campaign Legal Center, last week said the situation “presents a serious legal problem for AMI.” If those legal troubles end up depressing the market value of AMI, teachers, firefighters, cops and other public employees also could potentially suffer losses at a time when their pension funds are already facing shortfalls.

A New Jersey Treasury Department spokesperson said in an email that its Division of Investment “is in regular contact with its investment partners regarding underlying portfolio companies and provides feedback when appropriate. While DOI plays no role in the management of a fund’s portfolio companies, it expects the funds to invest in good businesses with strong management teams that follow all applicable laws.”