sentences:  Barsbāy sometimes sent al-'Ayni as his representative to greet foreign dignitaries, apparently because of his fluency in several languages.Barsbāy often turned to al-'Ayni for advice on legal matters, and named him chief Hanafi "qadi" (judge) in 829 AH (1426 CE.