趨炎附勢

Idiom

 * 1) to ingratiate oneself with powerful or influential people