What is the function of لِ in لِيَرْمِ?

Full Conjugation of the Yāʾ-Final Verb رَمَى يَرْمِي