To pay one's court

to seek to gain favor by attentions.

See also: Court

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.