to treat sb with great respect in order to gain favour with them
pay court to sb
Definiciones del Oxford Advanced Learner's Dictionary, 9.ª edición