张九龄 (678–740) was a chancellor under Emperor Xuanzong and a leading poet of the early eighth century. The poem's best-known couplet,
相知无远近,
万里尚为邻, says that friends who truly know each other are neighbours even ten thousand li apart, and echoes
王勃's
海内存知己,
天涯若比邻.