In all the days of the Third Age, after the fall of Gil-galad, Master Elrond abode in Imladris, and he gathered there many Elves, and other folk of wisdom and power from among all the kindreds of Middle-earth, and he preserved through many lives of Men the memory of all that had been fair; and the house of Elrond was a refuge for the weary and the oppressed, and a treasury of good counsel and wise lore. In that house were harboured the Heirs of Isildur, in childhood and old age, because of the kinship of their blood with Elrond himself, and because he knew in his wisdom that one should come of their line to whom a great part was appointed in the last deeds of that Age. And until that time came the shards of Elendil's sword were given into the keeping of Elrond, when the days of the Dunedain darkened and they became a wandering people.