NEW YORK — New York City Mayor Eric Adams was indicted Thursday on federal charges that he took illegal campaign contributions and bribes from foreign nationals, including lavish overseas trips, in exchange for favors that included helping Turkish officials bypass a fire safety inspection for a new diplomatic tower in the city.

Adams, a Democrat and former police captain, faces conspiracy, wire fraud and bribery charges in a five-count indictment outlining a decadelong trail of corruption that began when he served as an elected official in Brooklyn.

Among other things, prosecutors allege that Adams received free and steeply discounted flight upgrades valued at more than $100,000, as well as campaign contributions from straw donors, some of which helped him qualify for more than $10 million in matching public campaign funds.

Damian Williams, the U.S. attorney for Manhattan, said at a news conference that Adams sold his influence to a senior Turkish official and others who engaged in a “multiyear scheme to buy favor with a single New York politician on the rise.”

In exchange for the bribes, the official asked Adams to take actions that appeared to benefit the Turkish regime.

Adams had a duty to disclose gifts he received, but year after year “kept the public in the dark,” the U.S. attorney said.

At a news conference outside Gracie Mansion, Adams denied wrongdoing and said he doesn’t plan to resign. Adams, who is the city’s second Black mayor, lashed out at federal prosecutors, claiming that they leaked information about the investigation in an effort “to try this case publicly.”

Prosecutors allege that Adams sought and accepted illegal contributions funneled to his campaign through an unidentified official in the Turkish diplomatic establishment. The official arranged for Adams and his companions to receive free or discounted travel on Turkey’s national airline to destinations including France, China, Sri Lanka, India, Hungary and Turkey, according to the indictment.

Additionally, Adams sought illegal campaign contributions from foreign officials, then “compounded his gains” by gaming the city’s matching funds program, which provides a generous match for small-dollar donations. In total, his campaign received more than $10 million in matching public funds.

In September 2021, a Turkish official told Adams it was time to repay him for the contributions and benefits by pressuring the fire department to facilitate the opening of the consulate without a fire inspection in time for a high-profile visit by Turkey’s president.

Even after a fire department official warned that major defects at the consulate building had left it “unsafe to occupy,” Adams pushed safety officials to allow it to open. Days later, Adams relayed news of the approval to the Turkish official, who called Adams a “true friend of Turkey,” the indictment says.

Several months later, the Turkish official messaged an Adams staffer with another request: that the mayor “not make any statement about the Armenian Genocide” ahead of an April remembrance day, according to the indictment. The staffer confirmed that Adams wouldn’t mention it, which he didn’t, prosecutors said. The Turkish government denies that the 1915 killing of an estimated 1.5 million Armenians qualifies as a genocide.

At times, Adams created and instructed others to create fake paper trails in order to falsely suggest that he had paid for travel benefits that were actually free, prosecutors allege. He also deleted messages with others involved in his misconduct, at one point assuring a co-conspirator that he “always” deleted her text messages, according to the indictment.

Federal prosecutors are believed to be leading multiple, separate inquiries involving Adams and his senior aides, relatives of those aides, campaign fundraising, and possible influence peddling of the police and fire departments.