Adams, elected in 2022 as a Democrat, was running as an independent after repeated scandals and indictment for alleged bribery.