“But Homan convinced him that he needed to jump ship if he wanted to save his career”
That would be a quid pro quo and that would be illegal.
That's not a quid pro quo. Advising Mayor Adams to change course to avoid political fallout and save his city isn’t an exchange of favors—it's just giving advice.