Haldir, an elf of Lorien, guided Frodo and company to the city of Lothlorien. He was the one who gave Samwise his rope after the stay in Lorien.